FuelLabs / fuels-rs

Fuel Network Rust SDK
https://fuellabs.github.io/fuels-rs
Apache License 2.0
44.35k stars 1.33k forks source link

chore: add `Clone` to `Contract` #1362

Closed hal3e closed 2 months ago

hal3e commented 2 months ago

Checklist

MujkicA commented 2 months ago

We could consider adding a note to the docs regarding the recommended usage of clone vs. with_salt. Both clone all fields of Contract, but with_salt enforces a new salt, enabling the redeployment of the contract.