Skip to content

Commit

Permalink
Bump forc to 0.56, rust sdk to 0.60, adapt predicate to new encoding (#…
Browse files Browse the repository at this point in the history
…180)

This PR updates dependencies with the current target of testnet

NOTICE: due to the enforced requirement to use the new v1 encoding, the
predicate has been substantially modified, as the calldata that gets
passed to the sway bridge now follows a different pattern.

During this process and according to different audits that have
signalled that ETH values on the payload could get potentially stuck on
the sway bridge, I have decided to go beyond and completely remove any
fund forwarding of the predicate to the bridge. If it is going to get
stuck anyway, we may as well simplify its logic so that the funds do
stay at the predicate, not at the bridge. This issue has been cataloged
as informational / low risk because in order to happen, the solidity
contracts need to be flawed themselves.

---------

Co-authored-by: K1-R1 <77465250+K1-R1@users.noreply.github.com>
  • Loading branch information
DefiCake and K1-R1 committed May 17, 2024
1 parent 804666d commit 45c8a90
Show file tree
Hide file tree
Showing 27 changed files with 368 additions and 372 deletions.
8 changes: 8 additions & 0 deletions .changeset/olive-tigers-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@fuel-bridge/message-predicates': minor
'@fuel-bridge/solidity-contracts': minor
'@fuel-bridge/fungible-token': minor
'@fuel-bridge/test-utils': minor
---

Bump all packages to adhere to fuel-core 0.26, forc 0.56, fuel-rs 0.60, fuel-ts 0.85
Loading

0 comments on commit 45c8a90

Please sign in to comment.