Skip to content

ovm-toolchain: check waffle provider defined#249

Merged
ben-chain merged 1 commit intomasterfrom
bug/ts-compilation-check
Sep 3, 2020
Merged

ovm-toolchain: check waffle provider defined#249
ben-chain merged 1 commit intomasterfrom
bug/ts-compilation-check

Conversation

@ben-chain
Copy link
Copy Markdown
Collaborator

Description

This small PR adds a check in our waffleV2 export that _web3Provider is defined, as some dev environments with strict tsconfigs previously rejected builds because the dependency invokes an object which is potentially undefined.

Contributing Agreement

Copy link
Copy Markdown
Contributor

@karlfloersch karlfloersch left a comment

Choose a reason for hiding this comment

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

LGTM!!

)
)
} else {
reject('web3Provider not defined')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome looks good!

@ben-chain ben-chain merged commit eb0f4cd into master Sep 3, 2020
@gakonst gakonst deleted the bug/ts-compilation-check branch March 18, 2021 15:02
snario pushed a commit that referenced this pull request Apr 14, 2021
* Another stab at a good hardhat-deploy

* Testing etherscan verifications

* Fix linting

* remove artifacts

* keep old deploy script

* remove old hardhat-typechain dependency

* remove unused import

* remove kovan config

* Tweak deployment a bit

* Clean up defaults

* rename hardhat => hh

* Use mock bond manager

* Make deploy a bit more robust

* I committed my private key again. There goes my goerli eth

* and my infura api key too

* Fix lint errors

* Use strict ordering

* refactor: use helper for easy AddressManager deployments (#350)

* Clean up georgios pr

* use dotenv to manage deployer keys

* Update src/hardhat-deploy-ethers.ts

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

* Stricter checking on address set

* add argument for sequencer address

* minor tweaks to console.log comments

* move predeploy addresses into their own file

* add small comment for clarity

* update deploy script

* fix incorrect env var in deploy script

* adding deploy.js shim to get ci to work

* simplify deployment environment vars

* temporary tweaks to get a ci run to pass

* print out deploy artifacts

* fix artifact log output format

* fix contract names in artifact log output

* add eth gateway to deploy

* add OVM_Proposer to address manager

* add some comments for clarity

* remove bytecode hash from compiler settings

* minor tweaks in response to review

* transfer address manager ownership after deploy

* explicitly attach deployer to address manager

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
protolambda pushed a commit to protolambda/optimism that referenced this pull request May 1, 2022
Adds a sequencer mode that runs ahead of the verifier.
Also changes the block timestamps + implements epochs correctly in the batch submission.
Does not reconcile sequenced blocks with verified blocks (but does check at least one block for consistency between a full verifier and full sequencer in the e2e test)
It is possible for the sequencer to get behind the L1 chain tip and it does not handle re-orgs well.
@mslipper mslipper mentioned this pull request May 16, 2022
2129zxl pushed a commit to node-real/combo-optimism that referenced this pull request Jan 10, 2025
theochap pushed a commit that referenced this pull request Jan 15, 2026
emhane added a commit that referenced this pull request Feb 3, 2026
Closes #212

---------

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants