We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
newOrderInstruction successfully passes with connection.sendTransaction and connection.confirmTransaction.
newOrderInstruction
connection.sendTransaction
connection.confirmTransaction
But when I do:
const marketState = await MarketState.retrieve( connection, marketKey, "finalized" ); const bidsSlab = await marketState.loadBidsSlab(connection, "finalized"); const depth = bidsSlab.getL2DepthJS(1, false); expect(depth.length).toBe(1);
The test fails because the depth is 0. It should be one.
The text was updated successfully, but these errors were encountered:
Try "confirmed" instead of"finalized". "confirmed" is usually good enough for most use cases (and will be true after "confirmTransaction")
Sorry, something went wrong.
No branches or pull requests
newOrderInstruction
successfully passes withconnection.sendTransaction
andconnection.confirmTransaction
.But when I do:
The test fails because the depth is 0. It should be one.
The text was updated successfully, but these errors were encountered: