Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 0.9.43 #27

Closed
wants to merge 12 commits into from
4 changes: 2 additions & 2 deletions .github/scripts/interact-with-contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $CC cargo contract new --target-dir /sources flipper
$CC cargo contract build --release --manifest-path=/sources/flipper/Cargo.toml

# Upload and instantiate code
ADDRESS=$($CC cargo contract instantiate --suri //Alice --skip-confirm --args false -x --output-json /sources/flipper/target/ink/flipper.wasm | jq -jr '.contract')
ADDRESS=$($CC cargo contract instantiate --suri //Alice --url ws://localhost:9944 --skip-confirm --args false -x --output-json /sources/flipper/target/ink/flipper.wasm | jq -jr '.contract')

# Call the contract
$CC cargo contract call --suri //Alice --contract $ADDRESS --message flip --manifest-path=/sources/flipper/Cargo.toml -x --skip-confirm
$CC cargo contract call --suri //Alice --url ws://localhost:9944 --contract $ADDRESS --message flip --manifest-path=/sources/flipper/Cargo.toml -x --skip-confirm
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
shell: bash
run: |
alias curl='docker run -it --rm curlimages/curl:8.1.2'
curl --retry 12 --retry-all-errors --retry-delay 3 -H "Content-Type: application/json" -d '{ "id": 1, "jsonrpc": "2.0", "method": "rpc_methods"}' http://127.0.0.1:9933
curl --retry 12 --retry-all-errors --retry-delay 3 -H "Content-Type: application/json" -d '{ "id": 1, "jsonrpc": "2.0", "method": "rpc_methods"}' http://127.0.0.1:9944

- name: Verify contract interaction
shell: bash
Expand Down
Loading