Skip to content

Commit

Permalink
Rename StorageAccess to StorageValue.
Browse files Browse the repository at this point in the history
commit-id:f17bf431
  • Loading branch information
orizi committed Jul 13, 2023
1 parent 5bf4ba3 commit 0b722de
Show file tree
Hide file tree
Showing 24 changed files with 232 additions and 232 deletions.
2 changes: 1 addition & 1 deletion corelib/src/integer.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ impl U64BitOr of BitOr<u64> {
}
}

#[derive(Copy, Drop, PartialEq, Serde, starknet::StorageAccess)]
#[derive(Copy, Drop, PartialEq, Serde, starknet::StorageValue)]
struct u256 {
low: u128,
high: u128,
Expand Down
4 changes: 2 additions & 2 deletions corelib/src/starknet.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use traits::TryInto;
use zeroable::Zeroable;

// Re-imports
// StorageAccess
// StorageValue
mod storage_access;
use storage_access::{
StorageAccess, StorageAddress, StorageBaseAddress, storage_base_address_const,
StorageValue, StorageAddress, StorageBaseAddress, storage_base_address_const,
storage_base_address_from_felt252, storage_address_from_base,
storage_address_from_base_and_offset, storage_address_to_felt252,
storage_address_try_from_felt252
Expand Down
2 changes: 1 addition & 1 deletion corelib/src/starknet/eth_address.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use traits::{Into, TryInto};
use zeroable::Zeroable;

// An Ethereum address (160 bits).
#[derive(Copy, Drop, starknet::StorageAccess)]
#[derive(Copy, Drop, starknet::StorageValue)]
struct EthAddress {
address: felt252,
}
Expand Down
2 changes: 1 addition & 1 deletion corelib/src/starknet/secp256_trait.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use traits::{Into, TryInto};
use integer::U256TryIntoNonZero;

/// Secp256{k/r}1 ECDSA signature.
#[derive(Copy, Drop, PartialEq, Serde, starknet::StorageAccess)]
#[derive(Copy, Drop, PartialEq, Serde, starknet::StorageValue)]
struct Signature {
r: u256,
s: u256,
Expand Down
Loading

0 comments on commit 0b722de

Please sign in to comment.