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

Upgrade all testnets to v0.7.9 #356

Closed
guidiaz opened this issue Jul 24, 2023 · 9 comments
Closed

Upgrade all testnets to v0.7.9 #356

guidiaz opened this issue Jul 24, 2023 · 9 comments

Comments

@guidiaz
Copy link
Collaborator

guidiaz commented Jul 24, 2023

And reduce WIT reward on all pf updates.

See https://docs.google.com/spreadsheets/d/17HAUQcrFr8oNUUBAvF0irRC8h8hNNie1MUg_u6KCcwM/edit?usp=sharing.

@guidiaz guidiaz changed the title Upgrade all testnets to v0.7.8 Upgrade all testnets to v0.7.9 Jul 25, 2023
@guidiaz
Copy link
Collaborator Author

guidiaz commented Jul 25, 2023

Detected and fixed bugs in WitnetBuffer and WitnetEncodingLib:

@guidiaz
Copy link
Collaborator Author

guidiaz commented Jul 25, 2023

DoD per testnet:

  • WitnetBytecodes deployed/upgraded to 0.7.9
  • WitnetRequestBoard upgraded to 0.7.9
  • WitnetRequestFactory deployed/upgraded to 0.7.9
  • WitnetPriceFeeds deployed/upgraded to 0.7.9
  • Pfs routed from WitnetPriceRouter have been replicated into WitnetPriceFeeds
  • Pfs routed from WitnetPriceRouter have been upgraded to WitnetPriceFeedBypass
  • DFE points to WitnetPriceRouter address
  • Poller is upgraded to v2.0.2 in AWS and pointing to WPF address
  • SLA params in WPF settled to:
    • --num-witnesses 10
    • --min-consensus-percentage 51
    • --witness-reward 15000000 (0,015 WIT)
    • --witness-collateral 1500000000 (1,5 WIT)
    • --commit-reveal-fee 10000000 (0,01 WIT)

@guidiaz
Copy link
Collaborator Author

guidiaz commented Jul 25, 2023

Upgraded testnets:

  • Arbitrum Goerli
  • Avalanche Testnet
  • Boba BNB/L2 Testnet
  • Boba ETH/L2 Goerli
  • Celo Alfajores
  • Conflux Core Testnet
  • Conflux eSpace Testnet
  • Cronos Testnet
  • Dogechain Testnet
  • Elastos Testnet
  • Ethereum Goerli
  • Fuse Testnet
  • Gnosis Testnet
  • Kava Testnet
  • KCC Testnet
  • Klaytn Testnet
  • Meter Testnet
  • Metis Goerli
  • Moonbase Alpha
  • OKXChain Testnet
  • Optimism Goerli
  • Polygon Mumbai
  • Polygon zkEVM Testnet
  • Scroll Goerli
  • Ultron Testnet

@guidiaz
Copy link
Collaborator Author

guidiaz commented Jul 26, 2023

As to minize number of web3 remote calls, these parameters can be re-set:

  • On gateways:
    • EVM_CALL_INTERLEAVE_BLOCKS = 0 (only in testnets!!)
  • On pollers:
    • WPFP_WEB3_PROVIDER_POLLING_LATENCY_SECS = 5

@guidiaz
Copy link
Collaborator Author

guidiaz commented Aug 2, 2023

Apparently, Scroll zkEVM supports SHA-256 no more:

  • New customized WitnetBytecodesNoSha256 was deployed into:
    • Polygon zkEVM Goerli
    • Scroll zkEVM Goerli
  • WitnetBytecodesDefault is affected, so it's to be upgraded on all testnets:
    • Arbitrum Goerli
    • Avalanche Testnet
    • Boba BNB/L2 Testnet
    • Boba ETH/L2 Goerli
    • Celo Alfajores
    • Conflux Core Testnet
    • Conflux eSpace Testnet
    • Cronos Testnet
    • Dogechain Testnet
    • Elastos Testnet
    • Ethereum Goerli
    • Fuse Testnet
    • Gnosis Testnet
    • Kava Testnet
    • KCC Testnet
    • Klaytn Testnet
    • Meter Testnet
    • Metis Goerli
    • Moonbase Alpha
    • OKXChain Testnet
    • Optimism Goerli
    • Polygon Mumbai
    • Ultron Testnet

@guidiaz guidiaz reopened this Aug 3, 2023
@guidiaz
Copy link
Collaborator Author

guidiaz commented Aug 3, 2023

Missing fallbacks for methods in IWitnetRequestBoardDeprecating is provoking older versions of WitnetRandomness to fail. Added fallback in WitnetRequestBoardTrustableDefault, to be upgraded in the following testnets:

  • Ethereum Goerli
  • Arbitrum Goerli
  • Avalanche Testnet
  • Boba ETH/Goerli
  • Celo Alfajores
  • Conflux Core Testnet
  • Conflux eSpace Testnet
  • Cronos Testnet
  • Dogechain Testnet
  • Kava Testnet
  • KCC Testnet
  • Klaytn Testnet
  • Meter Testnet
  • OKXChain Testnet
  • Optimism Goerli
  • Ultron Testnet

@guidiaz
Copy link
Collaborator Author

guidiaz commented Aug 3, 2023

@Tommytrg
Copy link
Member

All testnets are upgraded now

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

No branches or pull requests

3 participants