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

Multisignature (1/3) #1606

Closed
wants to merge 41 commits into from
Closed

Multisignature (1/3) #1606

wants to merge 41 commits into from

Conversation

Fraccaman
Copy link
Member

@Fraccaman Fraccaman commented Jun 21, 2023

Based on 0.17.4.

@Fraccaman Fraccaman changed the title multisig: remove --signer option multisig Jun 21, 2023
@Fraccaman Fraccaman marked this pull request as draft June 21, 2023 11:19
@Fraccaman Fraccaman requested a review from murisi July 14, 2023 08:54
@Fraccaman Fraccaman marked this pull request as ready for review July 14, 2023 08:55
Comment on lines +198 to +205
Key {
segments: vec![
DbKeySeg::AddressSeg(ADDRESS),
DbKeySeg::StringSeg(
Keys::VALUES.max_signatures_per_transaction.to_string(),
),
],
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Key {
segments: vec![
DbKeySeg::AddressSeg(ADDRESS),
DbKeySeg::StringSeg(
Keys::VALUES.max_signatures_per_transaction.to_string(),
),
],
}
is_max_signatures_per_transaction_key_at_addr(key, &ADDRESS)

I think this should work. the StorageKeys macro generates these predicate functions automatically

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wow ill try!

@Fraccaman Fraccaman changed the title multisig Multisignature (1/3) Jul 19, 2023
Fraccaman added a commit that referenced this pull request Jul 20, 2023
* fraccaman/multisignature-draft-rebase:
  added changelog
  test: fix e2e test
  test: fix unit tests
  wasm: added new account methods to tx_prelude, refactor signature verifiation, rebuild wasm_for_tests
  docs: update tx definitions
  apps,shared: added cli tx and query methods
  core: added multisignature tx format, refacctor account storage api, added max_signature_per_transaction genesis parameter
@Fraccaman Fraccaman mentioned this pull request Jul 20, 2023
2 tasks
@Fraccaman Fraccaman closed this Jul 29, 2023
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

Successfully merging this pull request may close these issues.

2 participants