near/artifacts: Make it easier to do governance
This commit is contained in:
parent
e20218b19e
commit
af35d33bba
|
@ -6,11 +6,13 @@ all: node_modules build nearcore
|
|||
|
||||
.PHONY: artifacts
|
||||
artifacts:
|
||||
rm -rf $@
|
||||
mkdir -p $@
|
||||
@echo "Building artifacts for near"
|
||||
DOCKER_BUILDKIT=1 docker build -f Dockerfile.build -t near-builder -o type=local,dest=$@ .
|
||||
cd $@ && ls | xargs sha256sum > checksums.txt
|
||||
|
||||
../scripts/contract-upgrade-governance.sh -m token_bridge -c near -a `sha256sum artifacts/near_token_bridge.wasm | sed -e 's/ .*$//'` -o artifacts
|
||||
../scripts/contract-upgrade-governance.sh -m core -c near -a `sha256sum artifacts/near_wormhole.wasm | sed -e 's/ .*$//'` -o artifacts > artifacts/README.md
|
||||
|
||||
build: contracts/ft/target/wasm32-unknown-unknown/release/near_ft.wasm \
|
||||
contracts/mock-bridge-integration/target/wasm32-unknown-unknown/release/near_mock_bridge_integration.wasm \
|
||||
|
|
Loading…
Reference in New Issue