Skip to content

Commit

Permalink
DEBUG: check with higher polling interval
Browse files Browse the repository at this point in the history
DEBUG: output purchase status
  • Loading branch information
markspanbroek committed Nov 13, 2024
1 parent bf5404b commit 320ac03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codex/codex.nim
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ proc bootstrapInteractions(
error "Persistence enabled, but no Ethereum account was set"
quit QuitFailure

let provider = JsonRpcProvider.new(config.ethProvider)
let provider = JsonRpcProvider.new(config.ethProvider, pollingInterval = chronos.milliseconds(100))
await waitForSync(provider)
var signer: Signer
if account =? config.ethAccount:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/testpurchasing.nim
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ twonodessuite "Purchasing", debug1 = true, debug2 = false:
nodes=3.uint,
tolerance=1.uint).get
check eventually(client1.purchaseStateIs(id, "submitted"), timeout = 10*1000)

debugEcho "client state: ", client1.getPurchase(id).?state
node1.restart()
client1.restart()

Expand Down

0 comments on commit 320ac03

Please sign in to comment.