fixed coconut test fixture

This commit is contained in:
Jędrzej Stuczyński
2023-10-06 11:39:33 +01:00
parent a4cf3b9166
commit 6ac38f80c7
2 changed files with 5 additions and 3 deletions
@@ -34,7 +34,9 @@ pub use crate::nyxd::fee::Fee;
pub use crate::rpc::TendermintRpcClient;
pub use coin::Coin;
pub use cosmrs::bank::MsgSend;
pub use cosmrs::tendermint::abci::{response::DeliverTx, Event, EventAttribute};
pub use cosmrs::tendermint::abci::{
response::DeliverTx, types::ExecTxResult, Event, EventAttribute,
};
pub use cosmrs::tendermint::block::Height;
pub use cosmrs::tendermint::hash::{self, Algorithm, Hash};
pub use cosmrs::tendermint::validator::Info as TendermintValidatorInfo;
+2 -2
View File
@@ -29,7 +29,7 @@ use nym_validator_client::nym_api::routes::{
};
use nym_validator_client::nyxd::Coin;
use nym_validator_client::nyxd::{
AccountId, Algorithm, DeliverTx, Event, EventAttribute, Fee, Hash, TxResponse,
AccountId, Algorithm, Event, EventAttribute, ExecTxResult, Fee, Hash, TxResponse,
};
use crate::coconut::State;
@@ -490,7 +490,7 @@ pub fn tx_entry_fixture(tx_hash: &str) -> TxResponse {
hash: Hash::from_str(tx_hash).unwrap(),
height: Default::default(),
index: 0,
tx_result: DeliverTx {
tx_result: ExecTxResult {
code: Default::default(),
data: Default::default(),
log: Default::default(),