mintlayer / core

Mintlayer Core
https://www.mintlayer.org/
MIT License
14 stars 4 forks source link

staking functional tests: expect exception on testing failed transactions #135

Closed b-yap closed 2 years ago

b-yap commented 2 years ago

also fixing transaction with fee exceeding u64::MAX

altonen commented 2 years ago

I think the tests may still fail because programmable pool tests send two invalid transactions to verify that the smart contract is not accepted and those asserts are not addressed in this PR. If people are OK with it, it may be easier to just disable smart contract tests in this PR and once this is merged, I can send a PR that properly fixes the PP tests.