Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executeFromVar() error on costing #600

Open
greenhat opened this issue Sep 19, 2019 · 2 comments
Open

executeFromVar() error on costing #600

greenhat opened this issue Sep 19, 2019 · 2 comments
Labels
A-frontend Area: ErgoScript compiler (source -> ErgoTree) C-feature Category: Feature request or PR P2-medium Priority: Medium
Milestone

Comments

@greenhat
Copy link
Member

executeFromVar[SigmaProp](21)
with context:

      val script: SigmaPropValue = GT(Height, IntConstant(1)).toSigmaProp
      val scriptBytes = ValueSerializer.serialize(script)
      ContextExtension(Map(21.toByte -> ByteArrayConstant(scriptBytes)))

throw on SigmaTestingCommons.compile:

Variable executeFromVar not found in environment Map(maxSizeColl -> s19, coll10 -> s28, alice4 -> s39, alice -> s43, coll100 -> s52, coll5 -> s61, alice2 -> s65, coll1000 -> s74, alice3 -> s78)
@greenhat greenhat self-assigned this Sep 19, 2019
@greenhat greenhat added the C-bug Category: This is a bug label Sep 25, 2019
@greenhat greenhat changed the title executeFromVar error on costing executeFromVar() error on costing Sep 25, 2019
@greenhat greenhat added this to the v4.0 milestone Sep 25, 2019
@aslesarenko
Copy link
Member

@greenhat How to reproduce?

greenhat added a commit that referenced this issue Oct 6, 2019
@greenhat
Copy link
Member Author

greenhat commented Oct 6, 2019

@aslesarenko I made a PR with a failing test - #612

@aslesarenko aslesarenko added A-consensus Area: Code used in consensus (i.e. transaction validation) C-enhancement Category: A PR with an enhancement or a proposed one in an issue. P2-medium Priority: Medium C-feature Category: Feature request or PR and removed C-enhancement Category: A PR with an enhancement or a proposed one in an issue. C-bug Category: This is a bug labels Oct 7, 2019
@aslesarenko aslesarenko modified the milestones: v5.0, v6.0 Sep 10, 2020
@greenhat greenhat removed their assignment Oct 8, 2021
@aslesarenko aslesarenko added A-frontend Area: ErgoScript compiler (source -> ErgoTree) and removed A-consensus Area: Code used in consensus (i.e. transaction validation) labels Aug 22, 2022
@aslesarenko aslesarenko modified the milestones: v6.0, v5.x Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: ErgoScript compiler (source -> ErgoTree) C-feature Category: Feature request or PR P2-medium Priority: Medium
Projects
None yet
Development

No branches or pull requests

2 participants