Skip to content

Commit

Permalink
fix: use proxy bin with storage slots in a namespace (#6429)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayagokalp authored Aug 19, 2024
1 parent d003a5f commit 749e897
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions forc-plugins/forc-client/proxy_abi/proxy_contract-abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@
{
"name": "doc-comment",
"arguments": [
" * When `storage.proxy_owner` is not [State::Uninitialized]."
" * When `storage::SRC14.proxy_owner` is not [State::Uninitialized]."
]
},
{
Expand Down Expand Up @@ -713,12 +713,12 @@
{
"name": "INITIAL_TARGET",
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
"offset": 13272
"offset": 13616
},
{
"name": "INITIAL_OWNER",
"concreteTypeId": "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c",
"offset": 13224
"offset": 13568
}
]
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[
{
"key": "72fc5f2af3af1d5912212382d8323bd34e899429c427791cee5428ab6d77afe7",
"key": "35fa5b7532d53cf687e13e3db014eaf208c5b8c534ab693dd7090d5e02675f3e",
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"key": "72fc5f2af3af1d5912212382d8323bd34e899429c427791cee5428ab6d77afe8",
"key": "35fa5b7532d53cf687e13e3db014eaf208c5b8c534ab693dd7090d5e02675f3f",
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
Expand All @@ -15,4 +15,4 @@
"key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd56",
"value": "0000000000000000000000000000000000000000000000000000000000000000"
}
]
]
Binary file modified forc-plugins/forc-client/proxy_abi/proxy_contract.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion forc-plugins/forc-client/tests/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ async fn test_deploy_fresh_proxy() {
.unwrap(),
proxy: Some(
ContractId::from_str(
"ca196e29217545f6e676d93bbd03219aef6ee4adf96ce960b5005a67aa04fb5d",
"f2d67efbd6038c85ddaffdcdc859770d8bd20eeec8e3909911f1446b2ec9f764",
)
.unwrap(),
),
Expand Down

0 comments on commit 749e897

Please sign in to comment.