LiteSVM / litesvm

Apache License 2.0
51 stars 10 forks source link

upgrade to 1.18 and add compute_budget support #34

Closed kevinheavey closed 3 months ago

kevinheavey commented 3 months ago

I wanted to use 1.18 so I could use ComputeBudget::try_from_instructions, and then I discovered that 1.18 has a bunch of breaking changes so I've changed the version constaint to ~1.18

I then saw that MessageProcessor::process_message had changed, so I had to change the code that calls that method.

I also moved ./tests/programs/ to ./test_programs/ to fix dependency issues (the programs don't have the same dependencies as the tests that use those programs)

kevinheavey commented 3 months ago

Do you think it's relevant to keep, deploy_program in the loader if the test fail

Oh yeah I'll remove everything that uses the dead loader