Coder Social home page Coder Social logo

jet-simulation's People

Contributors

callensm avatar dnut avatar nevi-me avatar zachanon avatar

Watchers

 avatar  avatar

jet-simulation's Issues

Call stack is not thread safe

Getting this if I run too many tests concurrently

thread 'main' panicked at 'assertion failed: call_stack.borrow().len() < 4', /home/drew/.cargo/git/checkouts/jet-simulation-e99f1217ff43d9ed/de1b9d8/src/runtime.rs:499:9

I was seeing this error using the code coverage test runner:

cargo llvm-cov -p hosted-tests

Does not check for signer privilege escalation

accounting_invoke in margin escalated the margin account signer permission by setting is_signer to true in the account meta but not actually signing it with invoke_signed. solana_test_validator catches this and fails the ix with "signer privilege escalated" but the simulated runtime doesn't care about it.

in jet_v2 it currently has this bug - it sets the signer to true, but i'm fixing it in the orca branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.