Skip to content

Commit

Permalink
update proxy abi
Browse files Browse the repository at this point in the history
  • Loading branch information
kayagokalp committed Sep 10, 2024
1 parent 275f037 commit b9c966b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions forc-plugins/forc-client/src/op/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ async fn deploy_new_proxy(
) -> Result<ContractId> {
fuels::macros::abigen!(Contract(
name = "ProxyContract",
abi = r#"
{
abi = r#"{
"programType": "contract",
"specVersion": "1",
"encodingVersion": "1",
Expand Down Expand Up @@ -921,12 +920,12 @@ async fn deploy_new_proxy(
{
"name": "INITIAL_TARGET",
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
"offset": 13616
"offset": 13368
},
{
"name": "INITIAL_OWNER",
"concreteTypeId": "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c",
"offset": 13568
"offset": 13320
}
]
}"#,
Expand Down
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 @@ -433,7 +433,7 @@ async fn test_deploy_fresh_proxy() {
.unwrap(),
proxy: Some(
ContractId::from_str(
"9c50c6837ba29508ad1b0fb01953892031218b5a08be73925ca5c0148e00a186",
"8eae70214f55d25a65608bd288a5863e7187fcf65705143ee1a45fd228dacc19",
)
.unwrap(),
),
Expand Down

0 comments on commit b9c966b

Please sign in to comment.