Skip to content

Commit

Permalink
Report for issue #97 updated by Stormreckson
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Sep 5, 2023
1 parent 67e0c8b commit 5284f41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data/Stormreckson-Q.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,11 @@ Implementation Approach:

Conclusion:
Implementing a contract tracking mechanism through the suggested approach will greatly contribute to comprehensive contract management. It enhances visibility, simplifies auditing, and enables smooth interactions with deployed contracts. By adopting this best practice, the development team can streamline contract maintenance, promote efficient upgrades, and ensure compliance with regulatory requirements.

8-https://github.com/code-423n4/2023-09-ondo/blob/47d34d6d4a5303af5f46e907ac2292e6a7745f6c/contracts/bridge/SourceBridge.sol#L105-L10
```
AXELAR_GATEWAY.callContract(destinationChain, destContract, payload);
```
The return value of `AXELAR_GATEWAY` isn't checked

In the `_payGasAndCallContract` function, after `AXELAR_GATEWAY.callContract` is called, it would be wise to verify the return value or add a mechanism to handle potential failures. Failing to handle errors during the contract call might result in unexpected behavior. Consider implementing appropriate error handling or validation for the return value.

0 comments on commit 5284f41

Please sign in to comment.