-
Notifications
You must be signed in to change notification settings - Fork 19
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
refactor sc-storage #219
refactor sc-storage #219
Conversation
# Conflicts: # Cargo.lock # Cargo.toml # bridge-proxy/src/bridge-proxy.rs # bridged-tokens-wrapper/Cargo.toml # bridged-tokens-wrapper/src/lib.rs # common/fee-estimator-module/Cargo.toml # common/sc-proxies/src/esdt_safe_proxy.rs # esdt-safe/Cargo.toml # esdt-safe/src/lib.rs # esdt-safe/tests/esdt_safe_blackbox_test.rs # esdt-safe/wasm/Cargo.lock # esdt-safe/wasm/src/lib.rs # multisig/sc-config.toml
Coverage SummaryTotals
FilesExpand
|
Contract comparison - from 697dde1 to c9eb08a
|
common/storage-module/src/lib.rs
Outdated
&self, | ||
owner_address: ManagedAddress, | ||
) -> SingleValueMapper<ManagedAddress, ManagedAddress> { | ||
SingleValueMapper::<_, _, ManagedAddress>::new_from_address( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get the owner_address there so you dont have to have duplicated code
bridge-proxy/src/config.rs
Outdated
#[storage_mapper("esdtSafeContractAddress")] | ||
fn esdt_safe_contract_address(&self) -> SingleValueMapper<ManagedAddress>; | ||
#[storage_mapper("ownerAddress")] | ||
fn owner_address_storage(&self) -> SingleValueMapper<ManagedAddress<Self::Api>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
# Conflicts: # bridged-tokens-wrapper/src/lib.rs # esdt-safe/src/lib.rs # multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs
common/sc-proxies/src/lib.rs
Outdated
@@ -4,5 +4,6 @@ pub mod bridge_proxy_contract_proxy; | |||
pub mod bridged_tokens_wrapper_proxy; | |||
pub mod crowdfunding_esdt_proxy; | |||
pub mod esdt_safe_proxy; | |||
pub mod mock_multisig_proxy; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to include mock into productive code ?
No description provided.