You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
[0.13] Convert between sn_api & sir V3 transactions (#1210)
* Add GasPricess & FeeTokenAddresses structs
* Update code
* RpcStateReader::get_gas_price fetch both
* Update code
* Clippy
* Fix comment
* Add VersionSpecificAccountTxFields struct
* Integrate into TransactionExecutionContext
* Replace max_fee field with account_tx_fields for InvokeFunction tx
* Check tx account fields version when creating Invoke tx
* Replace max_fee field with account_tx_fields for DeclareV3 tx
* Replace max_fee field with account_tx_fields for DeployAccount tx
* Update get_transaction_context for Txs not affected by this change
* Fixes
* Fixes
* Fixes
* Fix handling of ignore_max_fee
* Improve placeholder method
* Handle TODOs
* Implement get_onchain_data_cost
* Refactor
* Generalize fn
* Start implementing check_fee_bounds
* Finish implementing check_fee_bounds
* Replace old code
* Fixes
* Implement FeeType for VersionSpecificAccountTxFields
* Update other txs
* Clippy
* Add test
* Simplify
* Move test
* Return the appropiate error whe converting to deprecated declare
* Fix conversion between sn api Invoke and sir InvokeFunction tx
* Fix conversion between sn api and sir DeployAccount tx
* Implement declare_tx_from_sn_api_transaction
* Remove error
* Clippy
* Add V3 deser
---------
Co-authored-by: Pedro Fontana <[email protected]>
0 commit comments