Skip to content

Commit

Permalink
refactor(voting-verifier): rename to verifier set in state.rs (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx authored May 27, 2024
1 parent 2b81529 commit ead0bb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ampd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ itertools = { workspace = true }
k256 = { version = "0.13.1", features = ["ecdsa"] }
mockall = "0.11.3"
move-core-types = { git = "https://github.com/mystenlabs/sui", tag = "mainnet-v1.14.2" }
multisig = { workspace = true, features = ["test", "library"] }
multisig = { workspace = true, features = ["library"] }
num-traits = { workspace = true }
prost = "0.11.9"
prost-types = "0.11.9"
Expand Down Expand Up @@ -71,6 +71,7 @@ voting-verifier = { workspace = true }
[dev-dependencies]
elliptic-curve = "0.13.5"
generic-array = "0.14.7"
multisig = { workspace = true, features = ["test", "library"] }
rand = "0.8.5"
random-string = "1.0.0"

Expand Down
3 changes: 2 additions & 1 deletion contracts/voting-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cosmwasm-std = { workspace = true }
cw-storage-plus = { workspace = true }
cw2 = { workspace = true }
error-stack = { workspace = true }
multisig = { workspace = true, features = ["test", "library"] }
multisig = { workspace = true, features = ["library"] }
report = { workspace = true }
rewards = { workspace = true, features = ["library"] }
router-api = { workspace = true }
Expand All @@ -52,6 +52,7 @@ thiserror = { workspace = true }
[dev-dependencies]
cw-multi-test = "0.15.1"
integration-tests = { workspace = true }
multisig = { workspace = true, features = ["test", "library"] }
rand = "0.8.5"
sha3 = { workspace = true }

Expand Down
4 changes: 2 additions & 2 deletions contracts/voting-verifier/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ impl PollContent<Message> {
}

impl PollContent<VerifierSet> {
pub fn new(workerset: VerifierSet, poll_id: PollId) -> Self {
pub fn new(verifier_set: VerifierSet, poll_id: PollId) -> Self {
Self {
content: workerset,
content: verifier_set,
poll_id,
index_in_poll: 0,
}
Expand Down

0 comments on commit ead0bb3

Please sign in to comment.