Skip to content
Open
Changes from all commits
Commits
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
68 changes: 68 additions & 0 deletions integration_test/runner/runner_inprocess_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,74 @@ func TestInProcessStakingModule(t *testing.T) {
runner.RunFile(t, "../staking_module/staking_test.yaml", runner.WithInProcessNetwork(sharedNet))
}

// TestInProcessGovModule is skipped in-process: the param-change plumbing works with
// a shortened voting period (proposals submit, vote, and pass), but the gov YAML
// files bundle cases coupled to the docker localnode. gov_proposal_test.yaml asserts
// the localnode's fixed total supply in its rejected-burn case (== 5e21, the mint
// coupling) and tunes an expedited case to the localnode's expedited window;
// staking_proposal_test.yaml uses an expedited proposal whose 0.667 quorum the
// suite's 2-of-N vote pattern doesn't clear at N=3. Migrating needs the localnode
// genesis (supply) replicated + the expedited quorum/timing reconciled.
func TestInProcessGovModule(t *testing.T) {
t.Skip("gov YAMLs bundle docker-localnode-coupled cases (fixed supply burn + expedited quorum/timing)")
}

// TestInProcessStartupModule is skipped in-process: startup_test.yaml asserts the
// docker localnode's fixed 4-validator topology (`tendermint-validator-set` count
// == 4), but the shared harness network runs N=3.
func TestInProcessStartupModule(t *testing.T) {
t.Skip("startup asserts the docker localnode's fixed 4-validator topology; harness runs N=3")
}

// TestInProcessTokenfactoryModule creates/mints/burns/changes-admin on a
// tokenfactory denom as admin (a fresh new_admin_addr key, so no keyring collision).
func TestInProcessTokenfactoryModule(t *testing.T) {
runner.RunFile(t, "../tokenfactory_module/create_tokenfactory_test.yaml", runner.WithInProcessNetwork(sharedNet))
}

// TestInProcessOracleModule sets a feeder for node_admin's valoper and verifies
// oracle penalty counts.
func TestInProcessOracleModule(t *testing.T) {
runner.RunFile(t, "../oracle_module/set_feeder_test.yaml", runner.WithInProcessNetwork(sharedNet))
runner.RunFile(t, "../oracle_module/verify_penalty_counts.yaml", runner.WithInProcessNetwork(sharedNet))
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oracle YAML suites run reversed

Medium Severity

TestInProcessOracleModule runs set_feeder_test.yaml before verify_penalty_counts.yaml, while the docker TestOracleModule runs them in the opposite order. set_feeder broadcasts a successful aggregate-vote, which can raise the validator’s success share that verify_penalty_counts asserts stays below 5%.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9637560. Configure here.


// TestInProcessSeiDBModule is skipped in-process: state_store_test.yaml asserts a
// docker fixture — 300 wasm contracts stored across block heights tracked in
// integration_test/contracts/wasm_*_block_height.txt — which the shared harness
// network doesn't build, so every historical list-code query returns empty.
func TestInProcessSeiDBModule(t *testing.T) {
t.Skip("seidb state_store asserts a docker fixture (300 wasm contracts at tracked heights)")
}

// TestInProcessBankMultiSig builds a 2-of-3 multisig (fresh wallet1/2/3 keys) and
// sends through it.
func TestInProcessBankMultiSig(t *testing.T) {
runner.RunFile(t, "../bank_module/multi_sig_send_test.yaml", runner.WithInProcessNetwork(sharedNet))
}

// TestInProcessBankSimulation dry-run-simulates a bank send (fresh simulation-test
// key).
func TestInProcessBankSimulation(t *testing.T) {
runner.RunFile(t, "../bank_module/simulation_tx.yaml", runner.WithInProcessNetwork(sharedNet))
}

// TestInProcessWasmModule is skipped in-process: the timelocked-token suites execute
// against a docker-fixture contract — a pre-deployed gringotts instance whose address
// (and the admin1 signer) come from integration_test/contracts/gringotts-contract-addr.txt,
// which the shared harness network doesn't build. Migrating it needs that contract
// deployed + its address seeded in-process.
func TestInProcessWasmModule(t *testing.T) {
t.Skip("wasm timelocked suites assert a docker fixture (pre-deployed gringotts contract + admin1)")
}

// TestInProcessFlatKVEvmModule is skipped in-process: flatkv_evm_test.yaml asserts a
// docker fixture — a pre-deployed EVM contract with recorded balances/heights read
// from integration_test/contracts/flatkv_evm_*.txt — not built by the shared network.
func TestInProcessFlatKVEvmModule(t *testing.T) {
t.Skip("seidb flatkv_evm asserts a docker fixture (pre-deployed EVM contract + recorded balances/heights)")
}

// TestInProcessAuthzModule is skipped in-process: the staking/generic YAMLs
// re-`keys add grantee` (a name the send suite already created) and feed
// `printf "<pass>\ny\n"` to answer docker's passphrase-then-overwrite prompts. The
Expand Down
Loading