Skip to content

Commit

Permalink
fixed fetching states and gists to reduce RCP calls
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Dec 5, 2023
1 parent f1b6ab9 commit 8500f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/services/voting/vote_gist.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func NewGISTUpdateVerifier(cfg config.Config) *GistUpdateVerifier {
cfg.Broadcaster().Sender(),
cfg.Ethereum().ContractAddr.String(),
cfg.Ethereum().NetworkName,
cfg.States().StatesPerRequest,
stateV2,
),
}
Expand Down
1 change: 1 addition & 0 deletions internal/services/voting/vote_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func NewStateUpdateVerifier(cfg config.Config) *StateUpdateVerifier {
cfg.Broadcaster().Sender(),
cfg.Ethereum().ContractAddr.String(),
cfg.Ethereum().NetworkName,
cfg.States().StatesPerRequest,
stateV2,
),
}
Expand Down

0 comments on commit 8500f4f

Please sign in to comment.