Skip to content

Commit

Permalink
fix(makefile): deploy contracts should initialise them
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll authored Jul 10, 2024
1 parent 044ab7f commit 18746e7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ make pull-submodules:
git pull --recurse-submodules
.PHONY: pull-submodules

raen-contracts:
/home/common/.cargo/bin/raen build --channel nightly --optimize -w -p near-da-blob-store --release

# Near contract building
#
# TODO: fix this
build-optimised-contracts:
cargo build --package near-da-blob-store -Z=build-std=std,panic_abort -Z=build-std-features=panic_immediate_abort --target wasm32-unknown-unknown --release

# Create the blob store contract
build-contracts:
cargo build --package near-da-blob-store --target wasm32-unknown-unknown --release
Expand All @@ -32,7 +23,7 @@ test-contracts: build-contracts

# TODO: note to set this
deploy-contracts:
near contract deploy $$NEAR_CONTRACT use-file ./target/wasm32-unknown-unknown/release/near_da_blob_store.wasm without-init-call network-config testnet sign-with-keychain
near contract deploy $$NEAR_CONTRACT use-file ./target/wasm32-unknown-unknown/release/near_da_blob_store.wasm with-init-call new json-args {} network-config testnet sign-with-keychain

da-rpc-sys:
make -C ./crates/da-rpc-sys
Expand Down

0 comments on commit 18746e7

Please sign in to comment.