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

STAGING -> MASTER #4935

Merged
merged 35 commits into from
Apr 25, 2024
Merged

STAGING -> MASTER #4935

merged 35 commits into from
Apr 25, 2024

Conversation

rohanjadvani
Copy link
Member

Summary

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

patnir and others added 30 commits April 17, 2024 08:50
resets account createdAt to null on all accounts if the 'full' option is set on
requests to wallet/rescanAccount. this forces rescans for all accounts to start
at the genesis block instead of beginning at the account birthday.

adds '--full' flag to wallet:rescan command.
When calling `importAccount` with an `RpcAccountImport` and a
non-undefined `name`, the `name` parameter used to be ignored. This is
no longer the case: passing a non-undefined `name` now overrides the
name of the `RpcAccountImport`.
Also add a few more tests for trusted dealer key generation (TDK)
Adds a -f flag to specify the account the transaction is being sent from
The raw transaction input is not optional and can be entered using a long prompt
* feat(cli,ironfish): Add flag to override name in round3

* Rename to accountName

* Rename cli flag to accountName
The ironfish-mpc and ironfish-phase2 projects are now hosted in this
repository: https://github.com/iron-fish/ironfish-mpc
* select secret name from list in dkg commands

if no secretName is passed via flags allow the user to select one of their
existing names from a list

in round1 allow users to create a new secret name from the list

makes it easier for users to know which secret names they have and can use in
the context of the dkg commands. allows users to start the dkg process without
running the participant:create command first

* removes option to create new secret during round1

identities must be shared with all participants before round1, so secret must be
created before round1
the next step instruction refers to the dealer in trusted dealer keygen, so it
doesn't always apply now that we support dkg
When importing a multisig account, participant identities are stored in
two places:
1. the public key package (part of the account record in the walletdb)
2. on dedicated records in the walletdb

The #2 records can sometimes get lost. This is the case currently of
account rescans.

Because there is no future development scheduled that will benefit
from #2, it's easier to just ignore those records and instead rely only
on the public key package.
`wallet.test.slow.ts` was broken by 4ab45df, which inadvertently
removed a type conversion step in the test.

`round3.test.ts` was broken by merging 17b9d68 on top of 4ab45df
without proper rebasing.
…cipants (#4926)

* renames wallet:multisig:participants to wallet:multisig:account:participants

renames the command to make it clearer that the command will list all of the
participant identities in the group for a given account and not all participant
identities that the wallet has created

maintains the old command name as a deprecated alias

* removes alias
hughy and others added 5 commits April 23, 2024 15:00
* renames secretName to participantName

the term 'secretName' does not make it clear that the name should be the same as
the one used with 'participant:create', that is, the name of a participant

renames the flag and rpc parameter 'secretName' to 'participantName' across all
dkg cli commands and rpc endpoints

changes flag character from s to n. in round3, this also requires changing the
'accountName' flag character from n to a

adds an alias 'name' for 'participantName' in all dkg commands

* fixes lint

* fixes round1 identity help text

* fixes rebase errors

* fixes stray usage of secretName in RPC validation
* updates text of identities prompts

clarifies which participant identities are expected when prompting for a list of
identities on the command line in 'commitment:create', 'dealer:create', and
'dkg:round1'

* adds missing commas before 'separated by commas'
allows users to view details for a transaction without needing to use the REPL

useful for situations where you have a serialized transaction, but don't know
what's in it
@rohanjadvani rohanjadvani requested a review from a team as a code owner April 25, 2024 19:09
@rohanjadvani rohanjadvani merged commit 8b26bfe into master Apr 25, 2024
30 checks passed
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.

6 participants