Skip to content

Commit

Permalink
incr gas limit for the message
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed Feb 10, 2025
1 parent 239a31d commit bf05926
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gmp/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ impl IConnector for Connector {
s: u256(&sig[32..]),
};
// Adding extra overhead for gateway call
let total_gas = msg.gas().saturating_add(100_000u128);
// TODO replace this magic value w config value
let total_gas = msg.gas().saturating_add(1_200_000u128);
let gas_limit: u64 = total_gas.try_into().unwrap_or_else(|_| {
tracing::error!("Gas {:?} could not be converted to u64", total_gas);
u64::MAX
Expand Down
10 changes: 10 additions & 0 deletions pallets/assets-bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ You can track task status with
docker compose run --remove-orphans tc-cli --config local-evm.yaml task 13
```


Once task successfully completed, ANLOG tokens should have been teleported to target account.
Let's check that on network `2`:

``` sh
cast call 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512 "balanceOf(address)(uint256)" 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266

```


***Problem**: task fails w

``` sh
Expand Down

0 comments on commit bf05926

Please sign in to comment.