Skip to content

Commit 3fb1b28

Browse files
authored
fix: foundry fixes (matter-labs#1981)
# What ❔ <!-- What are the changes this PR brings about? --> <!-- Example: This PR adds a PR template to the repo. --> <!-- (For bigger PRs adding more context is appreciated) --> ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated.
1 parent e954a9e commit 3fb1b28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

l1-contracts/deploy-scripts/provider/ZKSProvider.s.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ contract ZKSProvider is Script {
115115
// console.log("Total batches executed", modifiedJson);
116116
// console.log("json2", json2);
117117
bytes memory res = vm.parseJson(json2, "$[0]");
118-
string memory resString = abi.decode(res, (string));
119-
uint256 val = vm.parseUint(resString);
118+
uint256 val = abi.decode(res, (uint256));
120119
return val;
121120
}
122121

0 commit comments

Comments
 (0)