Skip to content

Commit

Permalink
Merge branch 'feat/soroban_storage_types' of https://github.com/salah…
Browse files Browse the repository at this point in the history
…eldinsoliman/solang into feat/soroban_storage_types
  • Loading branch information
salaheldinsoliman committed Oct 5, 2024
2 parents 9a981e0 + 9105d37 commit e5dd60a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/polkadot/try_catch.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ contract TryCatchCaller {
constructor() payable {}

function test(uint128 div) public payable returns (uint128) {
TryCatchCallee instance = new TryCatchCallee();
TryCatchCallee contract_instance = new TryCatchCallee();

try instance.test(div) returns (uint128) {
try contract_instance.test(div) returns (uint128) {
return 4;
} catch Error(string reason) {
assert(reason == "foo");
Expand Down

0 comments on commit e5dd60a

Please sign in to comment.