Skip to content

Commit c6bf93d

Browse files
authored
fix(evm): update ERC20 deploy contract gas limit (#2268)
* update gas limit * Update CHANGELOG.md
1 parent f36050d commit c6bf93d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5454
- [#2259](https://github.com/NibiruChain/nibiru/pull/2259) - feat: add depinject wiring for all sdk modules
5555
- [#2261](https://github.com/NibiruChain/nibiru/pull/2261) - feat: gen pulsar api and app wiring for sudo
5656
- [#2262](https://github.com/NibiruChain/nibiru/pull/2262) - feat: app wiring for oracle
57+
- [#2268](https://github.com/NibiruChain/nibiru/pull/2268) - fix(evm): gas limit for erc20 deploy
5758

5859
## [v2.2.0](https://github.com/NibiruChain/nibiru/releases/tag/v2.2.0) - 2025-03-27
5960

x/evm/keeper/erc20.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ import (
1919

2020
const (
2121
// Erc20GasLimitDeploy only used internally when deploying ERC20Minter.
22-
// Deployment requires ~1_600_000 gas
23-
Erc20GasLimitDeploy uint64 = 2_000_000
22+
Erc20GasLimitDeploy uint64 = 2_500_000
2423
// Erc20GasLimitQuery used only for querying name, symbol and decimals
2524
// Cannot be heavy. Only if the contract is malicious.
2625
Erc20GasLimitQuery uint64 = 100_000

0 commit comments

Comments
 (0)