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

Cause a CVM exception! (200 Gold) #6

Open
mikera opened this issue Jan 7, 2021 · 0 comments
Open

Cause a CVM exception! (200 Gold) #6

mikera opened this issue Jan 7, 2021 · 0 comments

Comments

@mikera
Copy link
Member

mikera commented Jan 7, 2021

Under normal circumstances, the CVM should never throw an exception when executing CVM code.

  • Must be caused by invoking valid CVM code in a valid Context (e.g. via Context.execute(op))
  • Must result in a Java exception that is not otherwise caught by the CVM (e.g. NullPointerException)
  • May be triggered by executing multiple transactions, providing such transactions are possible for an account to execute in a single block
  • Exceptions caused by JVM limits (OutOfMemoryError, StackOverflowError etc.) do not count unless they can be reliably replicated even with arbitrarily large JVM allowances.
  • Must implement a fix that prevents the issue along with JUnit regression tests

This bounty may be claimed multiple times, providing that the exception has a different cause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant