Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ba988db
test(test-suite): add e2e block cap tests for HCU metering (#1099)
Eikix Mar 5, 2026
35d9266
fix(test-suite): address review feedback on HCU block cap tests
Eikix Mar 5, 2026
447d671
fix(test-suite): fix HCU block cap tests for real stack
Eikix Mar 5, 2026
b20059f
fix(test-suite): tighten accumulation assertion with 2% tolerance
Eikix Mar 5, 2026
5ae0794
fix(test-suite): replace HCU tolerance with self-consistent accumulat…
Eikix Mar 5, 2026
16776c2
fix(test-suite): use revertedWithCustomError for non-owner assertion
Eikix Mar 5, 2026
925f42f
refactor(test-suite): simplify HCU block cap test structure
Eikix Mar 5, 2026
c9dcc45
refactor(test-suite): simplify accumulation test to use block meter only
Eikix Mar 5, 2026
bcba67f
fix(test-suite): assert meter starts at 0 before first operation
Eikix Mar 5, 2026
8a41960
refactor(test-suite): tighten accumulation assertions
Eikix Mar 5, 2026
44accaa
ci: temporarily skip all tests except HCU block cap
Eikix Mar 5, 2026
bf5fe53
fix(ci): build test-suite from source to include new HCU tests
Eikix Mar 5, 2026
289ddd1
fix(test): fix NotHostOwner ABI signature and relax accumulation asse…
Eikix Mar 5, 2026
12e40fd
fix(test): relax meter3 assertion — same op can differ by ~18 HCU
Eikix Mar 5, 2026
ff65a98
fix(test): disable Anvil interval mining when batching txs in one block
Eikix Mar 5, 2026
e26a0ca
refactor(test): centralize interval mining control in beforeEach/afte…
Eikix Mar 6, 2026
ce6e2b1
revert: restore per-test interval mining control (beforeEach hangs)
Eikix Mar 6, 2026
201c618
revert(ci): remove temporary test filters and --build flag
Eikix Mar 6, 2026
95c8198
test(test-suite): always restore HCU state after block cap tests
Eikix Mar 6, 2026
aaddd68
fix(test-suite): restore HCU whitelist state safely
Eikix Mar 6, 2026
52e9d5a
fix(test-suite): stabilize HCU meter assertions
Eikix Mar 6, 2026
ebe3727
Merge branch 'main' into host-statevar-tests
Eikix Mar 6, 2026
7631069
fix(test-suite): harden HCU e2e tests and add build dispatch
Eikix Mar 9, 2026
167691c
ci(test-suite): avoid expression expansion in deploy step
Eikix Mar 9, 2026
21a6f6e
fix(test-suite): stabilize HCU whitelist removal test
Eikix Mar 9, 2026
c4e5e78
test(test-suite): instrument HCU whitelist tx waits
Eikix Mar 9, 2026
ef4cf9e
fix(test-suite): use manual mining for HCU whitelist removal test
Eikix Mar 9, 2026
7930337
feat(test-suite): add --resume/--only to fhevm-cli and optimize CI de…
Eikix Mar 9, 2026
8a03585
fix(test-suite): remove --remove-orphans from selective cleanup
Eikix Mar 9, 2026
9caa67e
fix(ci): revert --only test-suite optimization in deploy step
Eikix Mar 9, 2026
9fa3918
chore(test-suite): revert unrelated fhevm-cli and deploy script changes
Eikix Mar 9, 2026
1d11f82
fix(test-suite): re-add hcu-block-cap test type to fhevm-cli
Eikix Mar 9, 2026
78d2a4a
fix(coprocessor): add block finalization in HL, remove hostchain from…
rudy-6-4 Jan 20, 2026
5ad30ae
fix(coprocessor): review fix
rudy-6-4 Mar 6, 2026
50387d0
fix(coprocessor): review fix
rudy-6-4 Mar 6, 2026
73e7106
fix(coprocessor): e2e tests
rudy-6-4 Mar 6, 2026
8d91083
test(corpocessor): debug e2e
rudy-6-4 Mar 6, 2026
4c9d7bf
fix(coprocessor): e2e tests
rudy-6-4 Mar 6, 2026
3ed720b
Merge of #1826
mergify[bot] Mar 10, 2026
a829645
Merge of #2081
mergify[bot] Mar 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/test-suite-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ on:
description: "KMS Core version"
default: ""
type: string
deploy-build:
description: "Build local Docker images from the checked out repository before deploy"
default: false
type: boolean
workflow_call:
secrets:
GHCR_READ_TOKEN:
Expand Down Expand Up @@ -139,8 +143,14 @@ jobs:

- name: Deploy fhevm Stack
working-directory: test-suite/fhevm
env:
DEPLOY_BUILD: ${{ inputs.deploy-build }}
run: |
./fhevm-cli deploy
if [[ "$DEPLOY_BUILD" == 'true' ]]; then
./fhevm-cli deploy --build
else
./fhevm-cli deploy
fi

# E2E tests on pausing the Host contracts
- name: Pause Host Contracts
Expand Down Expand Up @@ -215,6 +225,11 @@ jobs:
run: |
./fhevm-cli test random-subset

- name: HCU block cap test
working-directory: test-suite/fhevm
run: |
./fhevm-cli test hcu-block-cap

- name: Host listener poller test
working-directory: test-suite/fhevm
run: |
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions coprocessor/fhevm-engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE IF EXISTS host_chain_blocks_valid
ADD COLUMN IF NOT EXISTS block_status TEXT NOT NULL DEFAULT 'unknown' CHECK (block_status IN ('pending', 'unknown', 'finalized', 'orphaned'));

ALTER TABLE IF EXISTS host_chain_blocks_valid
ALTER COLUMN block_status DROP DEFAULT;
Loading
Loading