Version transaction message and add new message format (#18725)

* Version transaction message and add new message format

* Update abi digest due to message path change

* Update v0.rs

Fix comment

* Update original.rs

* Update message versions name and address map indexes field name

* s/original/legacy

* update comment

* cargo fmt

* Update abi digest due to legacy rename
This commit is contained in:
Justin Starry
2021-08-09 22:03:39 -07:00
committed by GitHub
parent f506da5e19
commit 8817f59b6e
6 changed files with 689 additions and 25 deletions

View File

@@ -110,7 +110,7 @@ impl From<SanitizeError> for TransactionError {
}
/// An atomic transaction
#[frozen_abi(digest = "AAeVxvWiiotwxDLxKLxsfgkA6ndW74nVbaAEb6cwJYqR")]
#[frozen_abi(digest = "FZtncnS1Xk8ghHfKiXE5oGiUbw2wJhmfXQuNgQR3K6Mc")]
#[derive(Debug, PartialEq, Default, Eq, Clone, Serialize, Deserialize, AbiExample)]
pub struct Transaction {
/// A set of digital signatures of a serialized [`Message`], signed by the