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

OpenZeppelin unit test fails. Error: instruction modified data of a read-only account #276

Closed
vasiliy-zaznobin opened this issue Nov 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vasiliy-zaznobin
Copy link
Contributor

vasiliy-zaznobin commented Nov 10, 2021

Impact:
Proxy + Neon EVM <-> OpenZeppelin library compatibility

STR:

Run the unit test for "ERC1155" contract
neon-compatibility/openzeppelin-contracts$ clear; ../node_modules/.bin/hardhat test ./test/token/ERC1155/ERC1155.test.js
Actual result:
Failure message:
Returned error: Transaction simulation failed: Error processing Instruction 0: instruction modified data of a read-only account
Error: Returned error: Transaction simulation failed: Error processing Instruction 0: instruction modified data of a read-only account
at Context. (test/token/ERC1155/ERC1155.test.js:201:28)
at processImmediate (internal/timers.js:461:21)

Expected result:
Test passed successfully.

s-medvedev pushed a commit that referenced this issue Nov 10, 2021
@s-medvedev s-medvedev added the bug Something isn't working label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants