Skip to content

Commit

Permalink
test(evm): e2e for tx receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
onikonychev committed Oct 31, 2024
1 parent 9701ac3 commit b250ae8
Show file tree
Hide file tree
Showing 31 changed files with 8,988 additions and 4,652 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/e2e-evm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
node-version: 18

- name: "just install"
run: just install
run: |
hardhat compile
hardhat typechain
working-directory: "evm-e2e"

- name: "Launch localnet"
Expand All @@ -77,7 +79,9 @@ jobs:
sleep 10
- name: "Run tests (just test)"
run: just test
run: |
just test
working-directory: "evm-e2e"
env:
JSON_RPC_ENDPOINT: http://127.0.0.1:8545
Expand Down
10 changes: 10 additions & 0 deletions evm-e2e/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
10 changes: 10 additions & 0 deletions evm-e2e/contracts/EventsEmitter.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract EventsEmitter {
event TestEvent(address indexed sender, uint256 value);

function emitEvent(uint256 value) public {
emit TestEvent(msg.sender, value);
}
}
31 changes: 0 additions & 31 deletions evm-e2e/contracts/InfiniteLoopGasCompiled.json

This file was deleted.

32 changes: 0 additions & 32 deletions evm-e2e/contracts/ReceiveNibiCompiled.json

This file was deleted.

50 changes: 0 additions & 50 deletions evm-e2e/contracts/SendNibiCompiled.json

This file was deleted.

Loading

0 comments on commit b250ae8

Please sign in to comment.