Skip to content

Commit

Permalink
Update types latest changes (#197)
Browse files Browse the repository at this point in the history
* Update types latest changes

* test
  • Loading branch information
gRoussac authored Nov 7, 2024
1 parent 4c205fa commit c196452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/cli/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ pub(super) fn pricing_mode(
error: "Receipt is required for reserved pricing mode".to_string(),
});
}
Ok(PricingMode::Reserved {
Ok(PricingMode::Prepaid {
receipt: maybe_receipt.unwrap_or_default(),
})
}
Expand Down Expand Up @@ -1871,7 +1871,7 @@ mod tests {
.unwrap();
assert_eq!(
parsed,
PricingMode::Reserved {
PricingMode::Prepaid {
receipt: Digest::from_hex(VALID_HASH).unwrap(),
}
);
Expand Down
3 changes: 1 addition & 2 deletions lib/rpcs/v2_0_0/get_entity.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use casper_types::{
account::{Account, AccountHash},
addressable_entity::NamedKeys,
AddressableEntity as CasperTypesAddressableEntity, EntityAddr, EntryPointValue,
AddressableEntity as CasperTypesAddressableEntity, EntityAddr, EntryPointValue, NamedKeys,
ProtocolVersion, PublicKey,
};
use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit c196452

Please sign in to comment.