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

Renamed StorageValue into Store. #3677

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all 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 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::StorageValue)]
#[derive(Copy, Drop, PartialEq, Serde, starknet::Store)]
struct u256 {
low: u128,
high: u128,
Expand Down
6 changes: 3 additions & 3 deletions corelib/src/starknet.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ use traits::TryInto;
use zeroable::Zeroable;

// Re-imports
// StorageValue
// Store
mod storage_access;
use storage_access::{
StorageValue, StorageValuePacking, StorageAddress, StorageBaseAddress,
storage_base_address_const, storage_base_address_from_felt252, storage_address_from_base,
Store, StorePacking, 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::StorageValue)]
#[derive(Copy, Drop, starknet::Store)]
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::StorageValue)]
#[derive(Copy, Drop, PartialEq, Serde, starknet::Store)]
struct Signature {
r: u256,
s: u256,
Expand Down
Loading