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

test: ovm context #522

Merged
merged 2 commits into from
Apr 21, 2021
Merged

test: ovm context #522

merged 2 commits into from
Apr 21, 2021

Conversation

tynes
Copy link
Contributor

@tynes tynes commented Apr 20, 2021

Description
Re-adds tests that were left behind as part of the monorepo migration.

These tests specifically cover NUMBER opcode which was fixed in ethereum-optimism/go-ethereum#280 as well as the returned values from rollup_getInfo. This RPC endpoint returns the current rollup context as well as the OVM context. There is a bug that requires an assertion to be fixed, this PR could either be rebased on top of a fix or merged with a ticket to fix the problem in the future. If #477 doesn't fix the bug then it should be easy to do so after #477

@changeset-bot
Copy link

changeset-bot bot commented Apr 20, 2021

🦋 Changeset detected

Latest commit: a02034d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/integration-tests Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tynes tynes added A-integration-tests C-feature Category: features C-chore Category: Code, docs or tooling maintenance labels Apr 20, 2021
Comment on lines +124 to +125
// TODO: this is a bug and needs to be fixed
//expect(info.ethContext.blockNumber).to.deep.equal(blockNumber.toNumber())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this bug documented in an issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documented here: #524

@tynes tynes force-pushed the test/ovmcontext branch from 9d3c8eb to a02034d Compare April 20, 2021 22:01
@tynes tynes merged commit 6bcf22b into master Apr 21, 2021
@tynes tynes deleted the test/ovmcontext branch April 21, 2021 00:49
@gakonst gakonst mentioned this pull request Apr 22, 2021
2 tasks
InoMurko referenced this pull request in omgnetwork/optimism May 25, 2021
* integration tests: ovm context

* integration tests: add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-chore Category: Code, docs or tooling maintenance C-feature Category: features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants