You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #294: Add optional arguments budget and env to run_program test helper
7529af3 Add optional arguments budget and env to run_program test helper (Michael Zaikin)
Pull request description:
`run_program` test helper is quite useful because it allows to run programs in (almost) the same way they would be run in Elements/Liquid node. The execution behaviour should ideally be identical to `BitMachine`, but there is a possibility of a divergence and using this helper is a good way to catch it.
This PR adds two optional arguments to allow specifying actual budget and environment. This prevents segmentation fault for some programs.
ACKs for top commit:
apoelstra:
ACK 7529af3; successfully ran local tests; thanks!
Tree-SHA512: d7bffcdb65285a5a12d76a9f5c6e7753444f2cb6e5a3d1e365c73c52ad4991cbdac7667d15c16741a0ce7fbebfddc505a687e4d457ca457c9a54ecffb1a8c584
0 commit comments