-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update IntrinsicGasForAlternativeFeeCurrency
#71
Comments
Issues have been created for those - https://github.com/celo-org/optimism/issues/74 - https://github.com/celo-org/optimism/issues/76
Issues have been created for those - https://github.com/celo-org/optimism/issues/74 - https://github.com/celo-org/optimism/issues/76
Issues have been created for those - https://github.com/celo-org/optimism/issues/74 - https://github.com/celo-org/optimism/issues/76
Issues have been created for those - https://github.com/celo-org/optimism/issues/74 - https://github.com/celo-org/optimism/issues/76
We log the gas usage for debit and credit on the trace log level. Once we have the fee currency directory and imported L1 state, we can check that output to choose good intrinsic gas values for each fee currency. |
My current findings: Those have been gathered by filtering our Dango live-logs for the Then cat Explore-logs-2024-07-09\ 16_27_02.json | jq 'group_by(.fields.feeCurrency)| map(unique_by(.fields.gasUsed))|map(map(.fields.gasUsed, .fields.feeCurrency))' Log results as of 9th of July 2024TetherToken:
USDC:
Celo Euro
Wrapped Ether
Celo Dollar
StableTest
Celo Brazilian Real
|
To add some updates, the This can be checked with the following directory=0x9212Fb72ae65367A7c887eC4Ad9bE310BAC611BF ETH_RPC_URL=https://alfajores-forno.celo-testnet.org for currency in (cast call "$directory" "getCurrencies() (address[] memory)" | string trim --chars="[]" | string split ', ');
echo "currency: $currency"; cast call "$directory" "getCurrencyConfig(address) (address, uint256)" $currency;end
Output:
|
@ezdac what's left to do here? |
@lvpeschke For Alfajores there currently is nothing to do, but updating the values has to be done for the |
Part of celo-org/optimism#6
See also https://www.notion.so/clabsco/ERC20-fee-currencies-for-CEL2-7fbf7c53e52c4cacab6e8e61d290fe93?pvs=4#4cdc12efd82247ca9f7a17cd0182caa7
The text was updated successfully, but these errors were encountered: