Tags: edwardchew97/nearcore
Tags
feat(rosetta-rpc): Add Metadata tagging fee-related Operations (near#… …7704) Closes near#7654. This PR adds `metadata.transfer_fee_type` field to the Operation object, which is only set for Gas prepayment (which happens on transaction processing) and Gas refunds (receipt that is sent by `system` user). Thus, there are just three states: * not set - it is either not a transfer operation (Construction API), or it is not a fee transfer * `GAS_PREPAYMENT` * `GAS_REFUND`
crates.io snapshot --- - near-account-id - https://crates.io/crates/near-account-id/0.15.0 - near-chain-configs - https://crates.io/crates/near-chain-configs/0.15.0 - near-chain-primitives - https://crates.io/crates/near-chain-primitives/0.15.0 - near-chunks-primitives - https://crates.io/crates/near-chunks-primitives/0.15.0 - near-client-primitives - https://crates.io/crates/near-client-primitives/0.15.0 - near-crypto - https://crates.io/crates/near-crypto/0.15.0 - near-indexer-primitives - https://crates.io/crates/near-indexer-primitives/0.15.0 - near-jsonrpc-primitives - https://crates.io/crates/near-jsonrpc-primitives/0.15.0 - near-network-primitives - https://crates.io/crates/near-network-primitives/0.15.0 - near-o11y - https://crates.io/crates/near-o11y/0.15.0 - near-primitives - https://crates.io/crates/near-primitives/0.15.0 - near-primitives-core - https://crates.io/crates/near-primitives-core/0.15.0 - near-rpc-error-core - https://crates.io/crates/near-rpc-error-core/0.15.0 - near-rpc-error-macro - https://crates.io/crates/near-rpc-error-macro/0.15.0 - near-vm-errors - https://crates.io/crates/near-vm-errors/0.15.0 - near-vm-logic - https://crates.io/crates/near-vm-logic/0.15.0
PreviousNext