witnet / witnet-solidity-bridge

Witnet Bridge for EVM-compatible blockchains
MIT License
60 stars 24 forks source link

Deploy on Optimism Testnet #274

Closed guidiaz closed 2 years ago

guidiaz commented 2 years ago
guidiaz commented 2 years ago

https://community.optimism.io/docs/developers/

guidiaz commented 2 years ago

Bridging 1 ETH from Ethereum Goerli to Optimism Goerli:

guidiaz commented 2 years ago

On new WitnetRequestBoardTrustableOvm2 implementation, assessing how to better estimate report reward by interacting w/ pre-compiled OVM_GasPriceOracle contract at L2

guidiaz commented 2 years ago

Funding 0.2 oETH to bridge evm address:

guidiaz commented 2 years ago

Setting 0x8c49CAfC4542D9EA9107D4E48412ACEd2A68aA77 as authorized reporter:

guidiaz commented 2 years ago

Deployed and verified Witnet Solidity Bridge contracts on Optimism Goerli:

guidiaz commented 2 years ago

Related PRs:

guidiaz commented 2 years ago

Created bridgeoptimismgoerli stack on bootstrap host

guidiaz commented 2 years ago

rpc gateway config:

  EVM_CALL_INTERLEAVE_BLOCKS: 2
  ETHERS_ESTIMATE_GAS_PRICE: "true"
  ETHERS_ESTIMATE_GAS_LIMIT: "true"
  ETHERS_GAS_LIMIT_FACTOR: 1.25
  ETHERS_MOCK_FILTERS: "true"
guidiaz commented 2 years ago

poller bot config:

  WPFP_NETWORK_NAME: "optimism.goerli"
  WPFP_WEB3_FINALIZATION_SECS: 45
  WPFP_WEB3_FROM: "0x8d86Bc475bEDCB08179c5e6a4d494EbD3b44Ea8B"
  WPFP_WEB3_PROVIDER_POA: "true"
  WPFP_WEB3_PROVIDER_WAITING_TIMEOUT_SECS: 120
  WPFP_WEB3_PROVIDER_POLLING_LATENCY_SECS: 10
  WPFP_WEB3_SYMBOL: "tOP"
  WPFP_WITNET_TOOLKIT_TIMEOUT_SECS: 15
guidiaz commented 2 years ago

bridge base config:

  WITNET_CENTRALIZED_ETHEREUM_BRIDGE_ETH_ACCOUNT: "0x8c49CAfC4542D9EA9107D4E48412ACEd2A68aA77"
  WITNET_CENTRALIZED_ETHEREUM_BRIDGE_GAS_LIMITS: "report_result = 6_000_000"
  WITNET_CENTRALIZED_ETHEREUM_BRIDGE_NUM_CONFIRMATIONS: 3
  WITNET_CENTRALIZED_ETHEREUM_BRIDGE_WRB_CONTRACT_ADDR: "0x0985FDe9f424fe4f5AC516F66bAf5591e18aCBEb"
aesedepece commented 2 years ago

Related PRs:

* [feat: add ethers support to Optimism web3-jsonrpc-gateway#41](https://github.com/witnet/web3-jsonrpc-gateway/pull/41)

* [feat: add support to optimism #280](https://github.com/witnet/witnet-solidity-bridge/pull/280)

* [feat: add support to optimism witnet-price-feeds#133](https://github.com/witnet/witnet-price-feeds/pull/133)

* [feat: add support to optimism data-feeds-explorer#245](https://github.com/witnet/data-feeds-explorer/pull/245)

All approved!

guidiaz commented 2 years ago

https://feeds.witnet.io/optimism

guidiaz commented 2 years ago

created change request on https://docs.witnet.io

aesedepece commented 2 years ago

created change request on https://docs.witnet.io

Merged!