Skip to content

Commit

Permalink
feat: modify exec txn response
Browse files Browse the repository at this point in the history
  • Loading branch information
raindust committed Dec 16, 2023
1 parent 37f278b commit db4c465
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system-actors/src/replica/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::tokenstate_service::UpgradeVersion;
use serde::{Deserialize, Serialize};
use tea_codec::pricing::Priced;
use tea_codec::serde::TypeId;
Expand Down Expand Up @@ -228,7 +229,7 @@ pub struct ExecTxnRequest(

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId)]
pub struct ExecTxnResponse(pub Vec<u8>);
pub struct ExecTxnResponse(pub Vec<u8>, pub Option<UpgradeVersion>);

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId, Priced)]
Expand Down

0 comments on commit db4c465

Please sign in to comment.