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

Changing TransactionV1 structure. From now on a TransactionV1 con… #4890

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion binary_port/src/error_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ impl From<InvalidTransactionV1> for ErrorCode {
InvalidTransactionV1::EntryPointCannotBeCall => {
ErrorCode::InvalidTransactionEntryPointCannotBeCall
}
InvalidTransactionV1::InvalidTransactionKind(_) => {
InvalidTransactionV1::InvalidTransactionLane(_) => {
ErrorCode::InvalidTransactionInvalidTransactionKind
}
InvalidTransactionV1::GasPriceToleranceTooLow { .. } => {
Expand Down
5 changes: 4 additions & 1 deletion execution_engine/src/engine_state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ pub use engine_config::{
};
pub use error::Error;
use execution_kind::ExecutionKind;
pub use wasm_v1::{BlockInfo, ExecutableItem, InvalidRequest, WasmV1Request, WasmV1Result};
pub use wasm_v1::{
BlockInfo, ExecutableItem, InvalidRequest, SessionDataDeploy, SessionDataV1, SessionInputData,
WasmV1Request, WasmV1Result,
};

/// The maximum amount of motes that payment code execution can cost.
pub const MAX_PAYMENT_AMOUNT: u64 = 2_500_000_000;
Expand Down
Loading
Loading