ErgoScript release v4.0 for Ergo mainnet v4.0
Version 4.0 contains following changes:
activatedScriptVersion
field added to execution context (ErgoLikeContext)- ErgoTree interpreter is now skipping validation for scripts if activated script version is higher than interpreter supports (so old nodes are skipping validation on soft-forks when 90+% mining power activated the ErgoTree upgrade). See changes in Interpreter.verify()
- Ensure v4.0 can support AOT -> JIT switch as v5.0 soft-fork (includes HF changes) (#697)
- Versioned tests for v4.0 and above (#709)
- Don't check activatedScriptVersion in prover (#708)
- CI jobs migrated from Travis to GitHub Actions (#710)
Contributors: @aslesarenko @greenhat @kushti
Related PR: #712