Skip to content
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

Cosmos gas multiplier params #1546

Closed
wants to merge 262 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
8c02c0c
[EVM] add endpoints to get block transaction count (#1099)
codchen Oct 12, 2023
6f9da33
[EVM] add getTransactionReceipt (#1100)
codchen Oct 13, 2023
5c7861e
[EVM] add getTransactions endpoints (#1101)
codchen Oct 17, 2023
e0b570a
[EVM] add endpoint to get transaction count by address (#1103)
codchen Oct 17, 2023
5888b96
[EVM] fix gas logic (#1104)
codchen Oct 19, 2023
a76232b
[EVM] add endpoint to return fee history (#1106)
codchen Oct 19, 2023
8f6740c
[EVM] add info endpoints (#1107)
codchen Oct 19, 2023
daa89d4
[EVM] eth state endpoints (#1105)
jewei1997 Oct 19, 2023
b63ac6d
[EVM] add subscription utility (#1109)
codchen Oct 23, 2023
41dfe2f
[EVM] add endpoint to send transaction (#1108)
codchen Oct 23, 2023
9653567
[EVM] get simulation endpoints (#1110)
codchen Oct 25, 2023
e92bd2e
[EVM] add getProof endpoint (#1114)
codchen Oct 27, 2023
576d978
[EVM] ETH Log Filter Endpoints (#1116)
jewei1997 Oct 31, 2023
74df7ef
[EVM] return gas info in message handler correctly (#1115)
codchen Nov 1, 2023
9e555c0
EVM Module Integration (#1122)
codchen Nov 3, 2023
ed4f413
[EVM] add transaction type to associate account (#1126)
codchen Nov 7, 2023
eb9bb0e
[EVM] convert balance decimal points (#1128)
codchen Nov 7, 2023
024b551
[EVM] ETH block filter endpoint (#1127)
jewei1997 Nov 8, 2023
00eef06
[EVM] surface VM error (#1130)
codchen Nov 9, 2023
2b768c9
[EVM] add ACL dependencies (#1129)
codchen Nov 9, 2023
e72c621
[EVM] several bug fixes (#1136)
codchen Nov 13, 2023
f46b616
[EVM] add `wasmd` precompile (#1139)
codchen Nov 14, 2023
dc2a650
[EVM] add bank metadata precompile functions (#1140)
codchen Nov 14, 2023
41187f0
[EVM] subscription based eth endpoints (#1132)
jewei1997 Nov 15, 2023
98047a9
[EVM] handle gapped nonce in CheckTx (#1142)
codchen Nov 17, 2023
8d4af80
[EVM] fix getProof (#1145)
codchen Nov 17, 2023
42faea8
[EVM] add deps for EVM ante handlers (#1149)
codchen Nov 22, 2023
2523083
[EVM] denormalize intermediary and coinbase accounts (#1153)
codchen Nov 22, 2023
97de55e
EVM ERC20 Template Contract (#1146)
jewei1997 Nov 28, 2023
742b72b
[EVM] seid command to deploy erc20 contract for a native sei token (#…
jewei1997 Dec 1, 2023
7822a95
[EVM] preprocess EVM transactions and define granular access operatio…
codchen Dec 5, 2023
559abd0
[EVM] --slow config for send raw txn (#1165)
jewei1997 Dec 5, 2023
136f63d
[EVM] add ERC-721 -> CW-721 interoperability contract (#1162)
codchen Dec 6, 2023
8ce84ee
[EVM] allow passing in private key hex for address association (#1166)
codchen Dec 6, 2023
8938f04
[EVM] Sign and Accounts endpoints (#1167)
codchen Dec 12, 2023
5c5fe5a
bump base geth version (#1172)
codchen Dec 13, 2023
f5cff26
Use pending transactions to handle higher nonce txs gracefully (#1175)
codchen Dec 18, 2023
8232d17
[EVM] fix logs disappearing issue (#1178)
codchen Dec 19, 2023
4c64668
Use better error message (#1179)
codchen Dec 19, 2023
b3d1679
Fix empty uncle hash (#1183)
stevenlanders Dec 26, 2023
8bce375
Fix getTxByHash for pending txs (#1181)
codchen Dec 26, 2023
771d9e6
[EVM] show bank send in GetBlock response (#1187)
codchen Dec 26, 2023
36e513b
[EVM] add stateless checks (#1188)
codchen Dec 27, 2023
7cf4680
[EVM] call SendCoinsAndWei to support 18-decimal point precision (#1191)
codchen Dec 29, 2023
7040a78
Fix ante handler (#1198)
codchen Dec 29, 2023
1450e42
Fix ERC20 wrapper code hash not whitelisted (#1203)
codchen Jan 2, 2024
0b58ec5
Automatically query for nonce for deploy erc20 cmd (#1199)
codchen Jan 2, 2024
701deb5
Prefund eth addresses local chain (#1193)
jewei1997 Jan 2, 2024
dd7da6a
Use separate state instead of params to represent whitelist (#1205)
codchen Jan 2, 2024
890d0d5
Improve error handling (#1206)
codchen Jan 2, 2024
9dbfc87
[EVM] Fix pending nonce race issues (#1194)
stevenlanders Jan 4, 2024
d6879f6
Add EVM wasmbindings (#1210)
codchen Jan 5, 2024
8303212
rebase
codchen Jan 8, 2024
2ccd032
add CW20-ERC20 wrapper (#1215)
codchen Jan 9, 2024
7a99fb2
Remove SendFromOriginMethod from Bank precompile
yzang2019 Jan 9, 2024
6105155
ERC20 Wrapper for CW20 (#1217)
jewei1997 Jan 9, 2024
b275a17
Fix EVM unit test after removing SendFromOriginMethod (#1218)
yzang2019 Jan 9, 2024
4f89051
fix docker cluster and gen accounts evm address linking (#1226)
udpatil Jan 10, 2024
93ab04a
Add timestamp during estimateGas and add tests (#1225)
codchen Jan 11, 2024
4288c5c
Pass tip cap in evm txs CLI and take tip into account when calculatin…
codchen Jan 12, 2024
b30a8c1
[EVM] TxPool Content RPC Endpoint (#1228)
jewei1997 Jan 12, 2024
98337c1
Expose EVM rpc port (#1233)
yzang2019 Jan 12, 2024
b2d6928
Add check for eth_getBlockTransactionCountByNumber (#1220)
philipsu522 Jan 12, 2024
793e67e
add whitelist for CW code hash that can make delegatecall to EVM (#1234)
codchen Jan 16, 2024
6d69cda
Minor RPC fixes (#1237)
codchen Jan 16, 2024
b4b35a6
Revamp EVM logs (#1224)
codchen Jan 16, 2024
98cceec
Tick version for devnet (#1243)
stevenlanders Jan 17, 2024
4d76cbc
disable parallel processing (#1246)
codchen Jan 17, 2024
eac5421
EVM fix association false returning sei addr (#1240)
jewei1997 Jan 17, 2024
ceb04ad
EVM integration tests (#1241)
jewei1997 Jan 17, 2024
f4f42a4
EVM Association RPC (#1245)
jewei1997 Jan 17, 2024
f5289af
[EVM] version v4.0.1-evm-devnet (#1248)
stevenlanders Jan 17, 2024
a5ec830
Make DerivedData impossible to forge (#1239)
codchen Jan 18, 2024
0c1af99
[EVM] Add contract factory test (#1253)
stevenlanders Jan 18, 2024
3c74a0c
[EVM] Add throughput and latency metrics for all JSON-RPC endpoint (#…
yzang2019 Jan 18, 2024
1b2b21f
Add whitelisting for delegatecalls through precompile (#1251)
codchen Jan 19, 2024
27103cd
[EVM] Allow multiple txs from same account in a block (#1252)
stevenlanders Jan 19, 2024
0c883d2
Add CLI helpers for ERC/CW20/721 wrappers (#1259)
codchen Jan 21, 2024
eb81b7a
Do not adjust V for unprotected txs (#1263)
codchen Jan 22, 2024
3d83515
[EVM] fix json send evm tx for cli (#1269)
stevenlanders Jan 23, 2024
b0d6579
EVM Hardhat gas test (#1254)
jewei1997 Jan 23, 2024
34c2465
Add CW721 wrapper for ERC721 (#1264)
codchen Jan 23, 2024
dc6c71c
EVM wei usei tests (#1266)
jewei1997 Jan 23, 2024
45af011
Separate endpoint for associateTx (#1272)
codchen Jan 23, 2024
a01e07e
Handle pruned heights in RPC gracefully (#1271)
codchen Jan 23, 2024
2fc65bf
[EVM] Add new RPC endpoint eth_getBlockReceipts (#1270)
yzang2019 Jan 23, 2024
14ba16c
[EVM] Add index to logs based on order (#1273)
stevenlanders Jan 23, 2024
959f011
Add more CW20 methods to ERC20 Wrapper (#1255)
mj850 Jan 24, 2024
a72af58
Remove iterator usage in EVM (#1277)
codchen Jan 24, 2024
e54a7b2
[EVM] update version for devnet v4.0.3 (#1280)
stevenlanders Jan 24, 2024
535c6f5
add CW->ERC wrapper queries (#1281)
codchen Jan 25, 2024
5c2dd3e
[EVM] set version for v4.0.4-evm-devnet (#1288)
stevenlanders Jan 25, 2024
5e799c7
EVM tx receipt test (#1274)
jewei1997 Jan 25, 2024
0001213
Wildcard vhosts to allow for dns rpc (#1289)
philipsu522 Jan 25, 2024
b6e603c
[EVM] Add evm to loadtest client (#1258)
yzang2019 Jan 26, 2024
0d23f44
Use memstore to hold deferred TX info (#1291)
codchen Jan 26, 2024
9b4cc59
Test CW wrappers (#1292)
codchen Jan 29, 2024
304da76
Edge case fixes for height-based queries (#1282)
codchen Jan 29, 2024
bdb8f95
[EVM] tick version for v4.0.5-evm-devnet (#1298)
stevenlanders Jan 29, 2024
a32b121
Clear txDeferredInfo in EndBlock (#1299)
udpatil Jan 30, 2024
ff99ff9
refactor block gas meter usages to ignore block gas meter in preparat…
udpatil Jan 30, 2024
113fddf
[EVM] Test Contract Address (#1296)
Kbhat1 Jan 30, 2024
0fccb32
remove msgSend from evm block tx filtering (#1303)
udpatil Jan 30, 2024
8ff566a
fix lint (#1305)
udpatil Jan 30, 2024
ac2a52d
[EVM] Tick upgrades v4.0.6-evm-devnet (#1306)
stevenlanders Jan 30, 2024
c0ad842
EVM get logs test (#1275)
jewei1997 Jan 30, 2024
0e1cbd5
EVM upgradeable smart contract (#1267)
jewei1997 Jan 31, 2024
a9419c2
Allow display info to be configured in native ERC-20 wrappers (#1302)
codchen Jan 31, 2024
de34fe5
Bump seidb and cosmos version to latest (#1309)
yzang2019 Jan 31, 2024
a2d733c
Add helper CLIs for ERC20 (#1308)
codchen Feb 1, 2024
48978e3
Bump cosmos to remove cachekv events (#1313)
yzang2019 Feb 1, 2024
bc8ffc9
[EVM] Tick upgrade for v4.0.8-evm-devnet (#1315)
stevenlanders Feb 1, 2024
5c26b7d
Fix log index (#1316)
codchen Feb 2, 2024
a79b50c
Tick version for v4.0.9-evm-devnet (#1319)
stevenlanders Feb 2, 2024
f34e627
Add staking precompile (#1318)
codchen Feb 4, 2024
f22572f
Simplify pending nonce logics (#1322)
codchen Feb 5, 2024
4d42a82
[EVM] update go.mod for candidate v4.1.0 (#1324)
stevenlanders Feb 5, 2024
456e6e4
[EVM] Update with rebased sei-cosmos (#1328)
stevenlanders Feb 6, 2024
caab2c5
Add Gov/Distribution precompiles (#1323)
codchen Feb 7, 2024
7c5b707
[EVM] Update loadtest client receipt polling (#1330)
stevenlanders Feb 8, 2024
8fd15ed
[EVM] merge main into evm (#1333)
stevenlanders Feb 8, 2024
3bb45de
Add cast support for docker and integration test (#1334)
yzang2019 Feb 9, 2024
2a02e4a
[EVM] update upgrades.go to include the 4.1.2 version (#1337)
stevenlanders Feb 10, 2024
fac5484
Use in-memory data structure for transient state (#1331)
codchen Feb 12, 2024
abc28ef
[EVM] Add erc20 to load test (#1342)
stevenlanders Feb 12, 2024
42b4892
[EVM] Add v4.1.3-evm-devnet to upgrades go (#1347)
stevenlanders Feb 12, 2024
b101ca9
Use in-memory map for deferred info (#1345)
codchen Feb 13, 2024
76f029d
Use per-tx escrow for Wei balance (#1314)
codchen Feb 13, 2024
aac0ed8
Hardcode things that dont need to be params (#1348)
codchen Feb 13, 2024
8bbc97c
[EVM] debug_traceTransaction endpoint (#1336)
jewei1997 Feb 14, 2024
565369a
[Loadtest] Optimize loadtest client throughput calculation (#1351)
yzang2019 Feb 15, 2024
41b0726
Add/sub balance directly without middleman (#1349)
codchen Feb 19, 2024
17ef3bc
handle nil code (#1360)
codchen Feb 20, 2024
f7512f9
Fix subscribe endpoints (#1359)
philipsu522 Feb 20, 2024
2067b73
[EVM] Fix tx index in tx receipt (#1354)
jewei1997 Feb 20, 2024
778f4ef
[EVM] historical query test (#1362)
jewei1997 Feb 21, 2024
17aec0e
[EVM] Remove eth_getPendingNonces (#1361)
stevenlanders Feb 21, 2024
0792562
V4.1.4 evm devnet branch (#1366)
philipsu522 Feb 21, 2024
c26b20d
fix comma (#1367)
stevenlanders Feb 21, 2024
28c887a
Fix debug trace tx (#1370)
philipsu522 Feb 22, 2024
a6c9fe2
[EVM] fix gas tip calculation related to priority (#1368)
stevenlanders Feb 22, 2024
b9a340e
Add two debug endpoints for trace (#1372)
yzang2019 Feb 23, 2024
dbc8dfe
rename pointer contracts (#1365)
codchen Feb 23, 2024
0d6ddef
Make certain precompile functions payable (#1376)
codchen Feb 26, 2024
7fe54af
Add tx type in tx hydration functions (#1381)
codchen Feb 26, 2024
7eb00ac
Fix error handling for non-existent block (#1382)
yzang2019 Feb 26, 2024
497f86d
Update evm tx cli to remove non-existent flag (#1386)
philipsu522 Feb 26, 2024
d6da4a3
[EVM] Tx Priority to be Effective Gas Price (#1385)
jewei1997 Feb 27, 2024
2c78e5a
EVM Precompile Send to Native address (#1332)
Kbhat1 Feb 27, 2024
e08e46e
evm-occ compatibility fixes
udpatil Jan 31, 2024
eb38ad7
Add evm resource types to resource to store key map
udpatil Jan 26, 2024
abd8686
update unit tests
udpatil Jan 26, 2024
d0fa1db
update deliverTxEntry
udpatil Feb 9, 2024
d4c0f1b
Fix mnemonic for populate accounts (#1401)
philipsu522 Mar 1, 2024
e53a645
[EVM] fix empty tx root value (#1405)
stevenlanders Mar 5, 2024
5be6869
[EVM] set default block to latest for eth_getLogs (#1417)
stevenlanders Mar 8, 2024
2623247
Integrate with tendermint EVM tx replacement logic (#1411)
codchen Mar 10, 2024
5458e4f
Set address association for Cosmos tx (#1425)
codchen Mar 12, 2024
a418e60
Remove command output that breaks loadtest deploying (#1424)
philipsu522 Mar 12, 2024
713ae0a
[EVM] Add erc721 to loadtest (#1428)
stevenlanders Mar 12, 2024
09260ad
Add funding logic to erc721 deploy script (#1429)
philipsu522 Mar 13, 2024
db4a6f4
[EVM] univ2 loadtest (#1423)
jewei1997 Mar 13, 2024
4b9e3bf
Pass `.git` folder to Docker context (#1432)
maoueh Mar 13, 2024
81b1a0b
Add deny list config for EVM RPC (#1427)
yzang2019 Mar 13, 2024
878cf3b
V4.1.5 evm devnet release (#1434)
philipsu522 Mar 14, 2024
919a8be
Transfer wei when account is associated (#1435)
codchen Mar 15, 2024
d4bf713
Handle unprotected TXs properly (#1443)
codchen Mar 18, 2024
4338c90
Add utils to replay ETH mainnet txs (#1426)
codchen Mar 18, 2024
d0b4e02
Set association and account for EVM contracts (#1447)
codchen Mar 19, 2024
1efefd9
change eth replay config names (#1451)
codchen Mar 19, 2024
171a166
Associate Tx Prefix Fix (#1442)
Kbhat1 Mar 19, 2024
ceef861
Precompile Integration Tests (#1440)
Kbhat1 Mar 19, 2024
accdb0c
[OCC] tick cosmos version to v0.2.78-seiv2 (#1453)
stevenlanders Mar 20, 2024
44740d4
EVM Module Panic + Error Metrics (#1458)
Kbhat1 Mar 21, 2024
3de8cf5
loadtest throughput metrics (#1452)
jewei1997 Mar 22, 2024
781dbbd
Account for withdrawals in replay (#1449)
codchen Mar 22, 2024
b5f5465
Parallelize tx decoding/EVM preprocessing (#1461)
codchen Mar 22, 2024
1effb0e
Remove redundant signature decoding (#1462)
codchen Mar 22, 2024
75b0c40
Set big int constants (#1465)
codchen Mar 25, 2024
81743f6
Add wasm binding for getting associated addresses (#1466)
codchen Mar 26, 2024
949980d
EVM Blockchain tests (#1455)
jewei1997 Mar 26, 2024
befeaac
Not override log index (#1469)
codchen Mar 26, 2024
081d1c8
bump sei-cosmos
udpatil Mar 27, 2024
29c996e
Oracle Precompile (#1445)
Kbhat1 Mar 26, 2024
2ac02eb
[seiv2] fix golint (#1481)
stevenlanders Mar 26, 2024
d90e144
Add cosmos send to EVM addr transaction type (#1470)
codchen Mar 27, 2024
42948cc
cache block during eth replay (#1471)
codchen Mar 27, 2024
3d9c95e
Add EVM panic stack trace (#1482)
codchen Mar 27, 2024
195fe7f
bump sei-tendermint
udpatil Mar 27, 2024
10c4b3f
Update EVMFeeCheckDecorator to run in Deliver Mode (#1474)
Kbhat1 Mar 27, 2024
63f89a5
Ante Handler: Nested Evm Messages within Authz (#1472)
Kbhat1 Mar 27, 2024
3e4db93
[EVM] Fix timestamp in evm read calls (#1486)
stevenlanders Mar 27, 2024
01f00b3
IBC transfer precompile (#1485)
dssei Mar 28, 2024
6e0c934
v4.1.7 evm devnet release (#1488)
philipsu522 Mar 28, 2024
c635641
Add ERC pointer registry (#1490)
codchen Mar 29, 2024
eb2080b
Update that brings `go-ethereum` with live tracer support (#1375)
maoueh Mar 29, 2024
4c225f4
Add gov proposal types for registering pointers (#1496)
codchen Apr 1, 2024
1127dbd
[EVM] cancun valid block tests (#1487)
jewei1997 Apr 1, 2024
548078b
[EVM] Reject blob txs (#1498)
stevenlanders Apr 2, 2024
109c324
Emit tendermint event upon address association (#1501)
codchen Apr 2, 2024
d4d1f70
mock beacon root (#1502)
codchen Apr 2, 2024
1f3798c
Add CW->ERC pointer registry (#1499)
codchen Apr 3, 2024
8be5846
Add WSEI contract and cmd for deployment (#1500)
codchen Apr 3, 2024
465eaf3
[SeiV2] Add EVM txs to OCC test library (#1503)
stevenlanders Apr 3, 2024
5442e03
Optimize replay (#1505)
codchen Apr 4, 2024
51b4587
Update EVM Basic Ante (#1491)
Kbhat1 Apr 4, 2024
41bb27b
Update Precompiles Input Method Parse + Evm Exists (#1494)
Kbhat1 Apr 4, 2024
ead66f7
Precompile Remove Panics + Add More Validation (#1504)
Kbhat1 Apr 4, 2024
507ab0b
Add gas limit for EVM static call query (#1509)
codchen Apr 4, 2024
0c08270
Precompiles Raise Error over Panic (#1507)
Kbhat1 Apr 4, 2024
f87a819
Add query for pointer in registry (#1508)
codchen Apr 5, 2024
a1e7beb
EVM Invalid block tests (#1497)
jewei1997 Apr 5, 2024
05ec7c1
Lower Evm max priority (#1511)
Kbhat1 Apr 5, 2024
fe9ca68
Replace MustGetEVMAddressFromBech32OrDefault (#1510)
Kbhat1 Apr 5, 2024
cc2d088
Fix Int rounding issues (#1514)
codchen Apr 7, 2024
424c8d9
Clear self-destructed account state at the end of tx (#1513)
codchen Apr 7, 2024
54b90cf
Write receipt for txs with non VM errors (#1512)
codchen Apr 8, 2024
9186601
Use registry instead of code hash to determine precompile whitelist (…
codchen Apr 8, 2024
86006f0
Require `from` in TransferFrom in CW721 pointer to be the owner (#1516)
codchen Apr 8, 2024
2f54f96
add comments (#1520)
codchen Apr 9, 2024
a0e38d4
Set unknown method call on precompiles to be non-zero (#1519)
codchen Apr 9, 2024
2b16fd7
Fix extractAsBytesList in json precompile (#1521)
codchen Apr 9, 2024
1d380cc
Disallow balance change for self-destructed address (#1522)
codchen Apr 9, 2024
75d5210
Bump geth and add checks for staticcall/delegatecall (#1524)
codchen Apr 9, 2024
a75cd92
fix precompile remaining gas calculation (#1525)
codchen Apr 9, 2024
e2440de
Emit event for contract registration (#1518)
codchen Apr 10, 2024
e8d0ce4
[EVM] Avoid internal events for send_native (#1523)
stevenlanders Apr 10, 2024
e504a25
Add mechanism for benchmarking EVM queries (#1530)
codchen Apr 11, 2024
37251b2
Use random string filter ID instead of incrementing ints (#1527)
codchen Apr 11, 2024
94af302
Add unit test for x/evm/state (#1532)
yzang2019 Apr 11, 2024
cec5ad5
Check wei balance in associate tx handling (#1534)
codchen Apr 11, 2024
e2514a8
Fix balance behavior for selfdestructed accounts (#1526)
codchen Apr 11, 2024
95e381f
Bank precompile get balances (#1533)
udpatil Apr 11, 2024
c125f6f
Add ante error handler for EVM msgs (#1535)
codchen Apr 12, 2024
51f7ac0
Fix unit test (#1540)
yzang2019 Apr 12, 2024
a34deba
V4.1.8 evm devnet release 2 (#1517)
philipsu522 Apr 12, 2024
ac8be0d
Add x/evm/types unit tests (#1537)
philipsu522 Apr 12, 2024
2f9f8f5
Bump SeiDB (Seiv2) (#1542)
Kbhat1 Apr 15, 2024
78eb1d6
Disallow unassociated EOA addresses from using precompiles (#1538)
codchen Apr 15, 2024
5caa031
[EVM] update sei-tendermint v0.2.41-seiv2 (#1544)
stevenlanders Apr 15, 2024
7470aae
Add wasmd execute batch to precompile (#1529)
udpatil Apr 15, 2024
0693fff
Cosmos Gas Multiplier Params
Kbhat1 Apr 16, 2024
bb1b958
Add comments
Kbhat1 Apr 16, 2024
4e5a009
Update unit tests
Kbhat1 Apr 16, 2024
4da62e4
Update tests
Kbhat1 Apr 16, 2024
757db6d
Update sei-cosmos
Kbhat1 Apr 17, 2024
2c6e284
bump sei-cosmos
Kbhat1 Apr 17, 2024
4afbda8
Update sei-cosmos
Kbhat1 Apr 17, 2024
d4f67e9
Infinite Multiplier Gas Meter for simulation
Kbhat1 Apr 17, 2024
0a82d4d
Add dep test
Kbhat1 Apr 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
build/
.git/
# The .git folder must be transferred to Docker context since the Makefile
# uses git commands to get the current commit hash and tag for versioning.
# .git/
6 changes: 4 additions & 2 deletions .github/workflows/compatiblity_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:

- name: Check Latest Dependencies
run: |
git clone https://github.com/sei-protocol/sei-cosmos.git
git clone https://github.com/sei-protocol/sei-tendermint.git
git clone -b seiv2 https://github.com/sei-protocol/sei-cosmos.git
git clone -b seiv2 https://github.com/sei-protocol/sei-tendermint.git
git clone https://github.com/sei-protocol/sei-iavl.git
git clone https://github.com/sei-protocol/go-ethereum.git
go mod edit -replace github.com/cosmos/iavl=./sei-iavl
go mod edit -replace github.com/tendermint/tendermint=./sei-tendermint
go mod edit -replace github.com/cosmos/cosmos-sdk=./sei-cosmos
go mod edit -replace github.com/ethereum/go-ethereum=./go-ethereum
go mod tidy
make install
53 changes: 53 additions & 0 deletions .github/workflows/eth_blocktests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ETH Blocktests

on:
push:
branches:
- seiv2
pull_request:
branches:
- seiv2

defaults:
run:
shell: bash

env:
TOTAL_RUNNERS: 5

jobs:
runner-indexes:
runs-on: ubuntu-latest
name: Generate runner indexes
outputs:
json: ${{ steps.generate-index-list.outputs.json }}
steps:
- id: generate-index-list
run: |
MAX_INDEX=$((${{ env.TOTAL_RUNNERS }}-1))
INDEX_LIST=$(seq 0 ${MAX_INDEX})
INDEX_JSON=$(jq --null-input --compact-output '. |= [inputs]' <<< ${INDEX_LIST})
echo "json=${INDEX_JSON}" >> $GITHUB_OUTPUT

eth-blocktests:
name: "Run ETH Blocktests ${{ matrix.runner-index }}"
runs-on: ubuntu-latest
needs: runner-indexes
strategy:
fail-fast: false
matrix:
# generate runner index array from 0 to total-runners
runner-index: ${{fromJson(needs.runner-indexes.outputs.json)}}
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21

- name: Clone ETH Blocktests
run: git clone https://github.com/ethereum/tests.git ethtests

- name: "Run ETH Blocktest"
run: ./run_blocktests.sh ./ethtests/BlockchainTests/ ${{ matrix.runner-index }} ${{ env.TOTAL_RUNNERS }}
40 changes: 40 additions & 0 deletions .github/workflows/forge-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Forge test

on:
pull_request:
push:
branches:
- main
- evm
- release/**

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
20 changes: 19 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
branches:
- main
- seiv2
- evm

defaults:
run:
Expand Down Expand Up @@ -73,7 +74,6 @@ jobs:
"python3 integration_test/scripts/runner.py integration_test/chain_operation/snapshot_operation.yaml",
"python3 integration_test/scripts/runner.py integration_test/chain_operation/statesync_operation.yaml"
]

},
{
name: "Distribution Module",
Expand All @@ -96,6 +96,21 @@ jobs:
"python3 integration_test/scripts/runner.py integration_test/upgrade_module/minor_upgrade_test.yaml"
]
},
{
name: "SeiDB State Store",
scripts: [
"docker exec sei-node-0 integration_test/contracts/deploy_wasm_contracts.sh",
"docker exec sei-node-0 integration_test/contracts/create_tokenfactory_denoms.sh",
"python3 integration_test/scripts/runner.py integration_test/seidb/state_store_test.yaml",
],
},
{
name: "Hardhat tests",
scripts: [
"python3 integration_test/scripts/runner.py integration_test/evm_module/hardhat_test.yaml",
"./scripts/hardhat.sh"
]
},
{
name: "SeiDB State Store",
scripts: [
Expand All @@ -110,6 +125,9 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: actions/setup-node@v2
with:
node-version: '16'

- name: Pyyaml
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- main
- seiv2
- evm
- release/**

jobs:
Expand Down
15 changes: 11 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ release/
.vscode/
.DS_Store
build/
cache/

Local .terraform directories
# Local .terraform directories
**/.terraform

# .tfstate files
Expand All @@ -18,8 +19,6 @@ yarn.lock
# node ignores
oracle/node_modules/
node_modules/
package-lock.json
*/package-lock.json

# test coverage output
c.out
Expand All @@ -44,4 +43,12 @@ integration_test/**/*.txt

# Coverage Files
coverage.html
coverage.out
coverage.out

# example artifacts
example/cosmwasm/echo/target
example/cosmwasm/cw20/target
example/cosmwasm/cw721/target

# Solidity contracts artifacts
contracts/artifacts
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "contracts/lib/forge-std"]
path = contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "contracts/lib/openzeppelin-contracts"]
path = contracts/lib/openzeppelin-contracts
url = https://github.com/openzeppelin/openzeppelin-contracts
[submodule "loadtest/contracts/evm/lib/openzeppelin-contracts"]
path = loadtest/contracts/evm/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "loadtest/contracts/evm/lib/solmate"]
path = loadtest/contracts/evm/lib/solmate
url = https://github.com/transmissions11/solmate
10 changes: 5 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ linters:
- exportloopref
- errcheck
- goconst
- gocritic
# - gocritic
- gofmt
- goimports
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
# - nakedret
- prealloc
- staticcheck
# - structcheck ## author abandoned project
- stylecheck
# - revive
- typecheck
# - typecheck
- unconvert
- unused
- unparam
# - unused
# - unparam
- misspell
# - nolintlint ## does not work with IDEs like VSCode which automatically insert leading spaces

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ build-price-feeder:
clean:
rm -rf ./build

build-loadtest:
go build -o build/loadtest ./loadtest/


###############################################################################
Expand Down
5 changes: 4 additions & 1 deletion aclmapping/dependency_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import (
aclkeeper "github.com/cosmos/cosmos-sdk/x/accesscontrol/keeper"
aclbankmapping "github.com/sei-protocol/sei-chain/aclmapping/bank"
acldexmapping "github.com/sei-protocol/sei-chain/aclmapping/dex"
aclevmmapping "github.com/sei-protocol/sei-chain/aclmapping/evm"
acloraclemapping "github.com/sei-protocol/sei-chain/aclmapping/oracle"
acltokenfactorymapping "github.com/sei-protocol/sei-chain/aclmapping/tokenfactory"
aclwasmmapping "github.com/sei-protocol/sei-chain/aclmapping/wasm"
evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper"
)

type CustomDependencyGenerator struct{}
Expand All @@ -15,7 +17,7 @@ func NewCustomDependencyGenerator() CustomDependencyGenerator {
return CustomDependencyGenerator{}
}

func (customDepGen CustomDependencyGenerator) GetCustomDependencyGenerators() aclkeeper.DependencyGeneratorMap {
func (customDepGen CustomDependencyGenerator) GetCustomDependencyGenerators(evmKeeper evmkeeper.Keeper) aclkeeper.DependencyGeneratorMap {
dependencyGeneratorMap := make(aclkeeper.DependencyGeneratorMap)
wasmDependencyGenerators := aclwasmmapping.NewWasmDependencyGenerator()

Expand All @@ -24,6 +26,7 @@ func (customDepGen CustomDependencyGenerator) GetCustomDependencyGenerators() ac
dependencyGeneratorMap = dependencyGeneratorMap.Merge(acltokenfactorymapping.GetTokenFactoryDependencyGenerators())
dependencyGeneratorMap = dependencyGeneratorMap.Merge(wasmDependencyGenerators.GetWasmDependencyGenerators())
dependencyGeneratorMap = dependencyGeneratorMap.Merge(acloraclemapping.GetOracleDependencyGenerator())
dependencyGeneratorMap = dependencyGeneratorMap.Merge(aclevmmapping.GetEVMDependencyGenerators(evmKeeper))

return dependencyGeneratorMap
}
2 changes: 1 addition & 1 deletion aclmapping/dex/mappings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (suite *KeeperTestSuite) TestMsgCancelOrder() {
func TestGeneratorInvalidMessageTypes(t *testing.T) {
tm := time.Now().UTC()
valPub := secp256k1.GenPrivKey().PubKey()
testWrapper := app.NewTestWrapper(t, tm, valPub)
testWrapper := app.NewTestWrapper(t, tm, valPub, false)

oracleVote := oracletypes.MsgAggregateExchangeRateVote{
ExchangeRates: "1usei",
Expand Down
Loading
Loading