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

Release candidate #3

Open
wants to merge 203 commits into
base: main
Choose a base branch
from
Open

Release candidate #3

wants to merge 203 commits into from

Conversation

Alrighttt
Copy link
Member

@Alrighttt Alrighttt commented Oct 2, 2024

To do:

  • incorporate and security review types: Switch to fixed-length PolicyHash preimage SiaFoundation/core#207 ref

  • implement methods in V2TransactionBuilder for atomic swap signing. Requires impl SatisfyPolicy for AtomicSwap ref

  • Generic error handling in the dispatcher. Current error handling still has remnants of now refactored dispatcher. ref

  • Move the example client to a rust doc example

  • Wrap all relevant unit tests with cross_target_tests example

  • Migrate docker test framework from Komodo DeFi Framework into Sia Rust. There are tests throughout the codebase that rely on a hardcoded URL to a walletd index node. Remove these in favor of mocked API or walletd docker containers.

  • Implement the remaining file contract related types for V2Transaction. This is not critical for final delivery as we can safely ignore this data in deserialization and will never do serialization. At a minimum, replace todo!()s with error handling or empty data. ref1 ref2

@Alrighttt Alrighttt mentioned this pull request Oct 28, 2024
add partial impl of api/consensus/tipstate walletd endpoint
add deserialize_null_as_empty_vec to utils module
add HelperError::FindWhereUtxoSpent
add a FIXME dev comment regarding Deserialize impl of Event
…hange

Prior to this change, preimages included in SatisfiedPolicy were Vec<u8>

They are now [u8; 32]
introduce id field to SiafundElement and SiacoinElement

remove scoid: prefix for serde of SiacoinOutputId

change merkle_proof field of StateElement from Option<Vec<Hash256>> to Vec<Hash256> - serde(default) should handle both `null` and `[]` as empty Vec<>

Leave FIXME doc comment regarding the need for additional unit tests for these changes
…t strictly needed but it better matches the Go implementation
…tateElement consensus changes from Sia Go - removed id field from StateElement
fix V2FileContractElement encoding
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.

4 participants