node icon indicating copy to clipboard operation
node copied to clipboard

feat: add Optimism and Base in static chain data and rename chain objects

Open lumtis opened this issue 1 year ago • 1 comments

Description

  • Add the following chains in static chain data
    • Optimism mainnet
    • Optimism sepolia
    • Base mainnet
    • Base sepolia

Add op-stack as a consensus type

Perform some renaming for chain objects: remove the chain suffix in the names. The objects are already in the chains package, namespace. Adding this suffix is unnecessary.

Closes: https://github.com/zeta-chain/node/issues/2002

lumtis avatar May 24 '24 08:05 lumtis

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.82%. Comparing base (632b2b9) to head (1c3a1f7).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2258   +/-   ##
========================================
  Coverage    68.81%   68.82%           
========================================
  Files          261      261           
  Lines        16257    16261    +4     
========================================
+ Hits         11187    11191    +4     
  Misses        4589     4589           
  Partials       481      481           
Files Coverage Δ
pkg/chains/bitcoin.go 100.00% <100.00%> (ø)
pkg/chains/chains.go 100.00% <100.00%> (ø)
x/crosschain/migrations/v5/migrate.go 83.07% <100.00%> (ø)
x/lightclient/types/verification_flags.go 86.95% <100.00%> (ø)
x/observer/types/chain_params.go 99.25% <100.00%> (ø)
zetaclient/chains/evm/signer/signer.go 46.30% <100.00%> (ø)
zetaclient/config/config_chain.go 0.00% <ø> (ø)

codecov[bot] avatar May 24 '24 09:05 codecov[bot]