You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Currently, the HUMAN Protocol SDK relies on the default provider gas estimation when interacting with Aurora (both mainnet and testnet). However, Aurora operates with a fixed gas price of 0.07GWei, which makes gas estimation unnecessary and their RPCs do not support it.
We should add some kind of a middleware that ensures a fixed gas price is always used when sending transactions through the SDK on Aurora networks.
Motivation
Avoid extra gas cost on transactions
Implementation details
Detect if the current chainId corresponds to Aurora mainnet (1313161554) or Aurora testnet (1313161555).
Automatically set the gas price to 0.07Gwei before sending the transaction.
Expose a configuration option to override the fixed gas price if needed.
Activity