Commit 65a3c98
feat(evm): add "eth.evm.v1.MsgConvertEvmToCoin" tx for ERC20 to bank coin conversions with a non-Ethereum transaction (#2345)
* feat: add convertEvmToCoin
* chore: changelog
* feat: revert gitignore changes
* Update x/evm/keeper/msg_server.go
Co-authored-by: Copilot <[email protected]>
* Revert "Update x/evm/keeper/msg_server.go"
This reverts commit 335862b.
* fix: lint
* refactor: lint, fmt, and name consistency with FunToken type
* docs(CHANGELOG): slightly more descriptive changelog entry
* fix: revert version update to golangci-lint back to v6
* docs(changelog): typos in URLs
* fix(evm): remove ERC20 approval requirement by switching from transferFrom to transfer
This change simplifies the `ConvertEvmToCoin` flow for ERC20-originated tokens
by replacing the use of `transferFrom` with `transfer`. As a result, token
approvals are no longer needed prior to conversion.
* Update CHANGELOG.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat(evm): add CanonicalWnibi to the evm params
* feat(evm): add canonical WNIBI logic and get tests passing
* finish adding the WNIBI case
* add a way to update the params with x/sudo
* merge changes
* fix(golangci-lint): use v8
* test(tokenfactory-cli): impl CLI tests
* chore: changelog
* fix: include template functinoality in tokenfactory cli
* impl upgrade handler
* wip!: impl WNIBI integration for FunToken conversion tx msgs
* return to working state with all passing tests and improved robustness
* feat: complete the feature with test suites
* linter fixes and more tests
* refactor: simplify, add docs, and test event emission
* docs(CHANGELOG): fix entry for current PR
* linter and typo fix
* fix: changes from PR comments
* refactor: address more PR comments from coderabbitai
* fix(genesis-test): bug related to mutation of test deps
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Kevin Yang <[email protected]>1 parent 828bddf commit 65a3c98
File tree
55 files changed
+6641
-1325
lines changed- api/eth/evm/v1
- app
- appconst
- upgrades
- v2_5_0
- v2_6_0
- v2_7_0
- eth
- proto/eth/evm/v1
- x
- common/testutil/genesis
- evm
- cli
- embeds
- evmmodule
- evmtest
- keeper
- precompile
- test
- statedb
- tokenfactory/cli
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+6641
-1325
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
60 | | - | |
| 66 | + | |
61 | 67 | | |
62 | | - | |
63 | | - | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
0 commit comments