fixed issue with expensive tx (only for polygon) - #13
fixed issue with expensive tx (only for polygon)#13CryptoTransformator wants to merge 2 commits into
Conversation
|
Hi! Thanks a lot for the contribution! The value on a destination chain is maintained by the LZ infra, and not constant. This value is actually encoded as "adapter_params", even though it is not obvious, but as far as I can tell, adapter_params just hides everything what we need to know about the destination chain [you can see what is there and how it is stored: https://github.com/web3engineering/LayerZero-python-aptos/blob/a0dc0bd94d7a1d5615dcb6994da7f9ed32543455/src/executor.py#L20 Our SDK has a parity between JS and Python, so
As I can see, there is an adapter record for chain 109: and as you can see, it changed from what you provided in your pull request. Could you please, double check (I admit we have a bug there, if this problem appeared) where exactly we lots the gas price from the adapter params? Again, thanks a lot for your work, appreciate it! |
fixed issue with expensive tx (only for polygon). adapter_params = '0x000100000000000249f0' is fixed.
But fee = 1800000 may be increased to 2500000 (depends on gas).