msgport / msgport-api

A reference implementation of msgport fee estimation spec
0 stars 0 forks source link

Estimate wrong gasLimit #19

Open jiguantong opened 4 months ago

jiguantong commented 4 months ago

https://etherscan.io/vmtrace?txhash=0xb58c6edc177aca079df6f99af898d03f7818a7ce894ab0e162c140df5620a5ca&type=parity#raw

https://msgscan.darwinia.network/messages/0x72dd4797e2d38374d3d27c717be6a5718eb2eae9203f6da5f857a70c981bf441

jiguantong commented 4 months ago

Maybe should not use public rpc

jiguantong commented 4 months ago

Retrieve gasLimits from two RPCs and use the more gasLimit. And use private RPC instead of public RPC.