Hi, I have been following the steps in the repo to test xvm calls, I executed the following steps with erc20
Build & run Astar in local ./target/release/astar-collator --dev --tmp
Add Test account that is funded with native token to metamask .
Using Remix IDE deploy an ERC20 (or ERC721 mint) using injected provider to Astar local & the test account.
Transfer ERC20 or mint ERC721 token from test account to Alice H160.
Deploy ink! contract with ERC20/ERC721 address from EVM.
After the contract is deployed, the calls to the deployed contract fail with the error contracts.call 1010: Invalid Transaction: Transaction would exhaust the block limits when I try from the Polkadotjs UI.
When using cargo contract cli like below
cargo contract call --contract "5GC4nqWgDaEfVeqZBPmgYk2JWKQEpbNGA4mp21BDomn9gUu5" \
--verbose --skip-confirm \
--message transfer --args "0xaaafB3972B05630fCceE866eC69CdADd9baC2771", "100" --suri //Alice
Dry-running transfer (skip with --skip-dry-run)
Success! Gas required estimated at Weight(ref_time: 2000000000000, proof_size: 18446744073709551615)
ERROR: Rpc error: RPC error
I tried manually overriding the gas and proof size as below, but still same error
Hi, I have been following the steps in the repo to test xvm calls, I executed the following steps with erc20
./target/release/astar-collator --dev --tmp
After the contract is deployed, the calls to the deployed contract fail with the error
contracts.call 1010: Invalid Transaction: Transaction would exhaust the block limits
when I try from the Polkadotjs UI.When using cargo contract cli like below
I tried manually overriding the gas and proof size as below, but still same error
If we override with a low gas value, the contract fails with the expected OutOfGas error
Not sure, but looks like the error could be due to the large proof_size