Skip to content

PVM: Matter Labs revert tests fail with Out Of Gas (resolc 0.6.0) #257

@marian-radu

Description

@marian-radu

The tests started failing after updating resolc from 0.5.0 to 0.6.0, likely due to changes in PR #443

A list of the newly failing tests can be found here

The tests that fail with OOG seem to have in common that the len parameter exceeds the 32-bit integer range.
According to the following note from the revive compiler book, the contract is expected to trap. Should it also consume all gas?

Many functions receive memory buffer offset pointer or size arguments. Since the PVM pointer size is 32 bit, supplying memory offset or buffer size values above 2^32-1 will trap the contract immediately.

Metadata

Metadata

Assignees

Labels

Matter LabPVMProblem occurs at the execution stage for PVMbug

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions