Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
hotfix: rename field in gateway state
Browse files Browse the repository at this point in the history
  • Loading branch information
adlrocha committed Apr 15, 2023
1 parent 2b7da79 commit a980f00
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions gateway/cbor_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ import (
)

type State struct {
NetworkName sdk.SubnetID
TotalSubnets uint64
MinStake abi.TokenAmount
Subnets cid.Cid // TCid<THamt<SubnetID, Subnet>>
BottomUpCheckPeriod abi.ChainEpoch
TopDownCheckPeriod abi.ChainEpoch
BottomUpCheckpoints cid.Cid // TCid<THamt<ChainEpoch, Checkpoint>>
Postbox cid.Cid // TCid<THamt<Cid, Vec<u8>>>
BottomupNonce uint64
AppliedTopdownNonce uint64
TopDownCheckVoting voting.Voting
Validators validator.OnChainValidators
NetworkName sdk.SubnetID
TotalSubnets uint64
MinStake abi.TokenAmount
Subnets cid.Cid // TCid<THamt<SubnetID, Subnet>>
BottomUpCheckPeriod abi.ChainEpoch
TopDownCheckPeriod abi.ChainEpoch
BottomUpCheckpoints cid.Cid // TCid<THamt<ChainEpoch, Checkpoint>>
Postbox cid.Cid // TCid<THamt<Cid, Vec<u8>>>
BottomupNonce uint64
AppliedTopdownNonce uint64
TopDownCheckpointVoting voting.Voting
Validators validator.OnChainValidators
}

func (st *State) GetSubnet(s adt.Store, id sdk.SubnetID) (*Subnet, bool, error) {
Expand Down

0 comments on commit a980f00

Please sign in to comment.