diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 22316f8..d4c4066 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -61,10 +61,10 @@ jobs: run: forc fmt --path standards --check - name: Build All Standards - run: forc build --path standards + run: forc build --error-on-warnings --path standards - name: Check Sway Formatting Examples run: forc fmt --path examples --check - name: Build All Examples - run: forc build --path examples + run: forc build --error-on-warnings --path examples diff --git a/standards/src/src10.sw b/standards/src/src10.sw index 440a781..0ec7635 100644 --- a/standards/src/src10.sw +++ b/standards/src/src10.sw @@ -15,18 +15,25 @@ pub enum DepositType { /// Enscapsultes metadata sent between the canonical chain and Fuel when a deposit is made. struct DepositMessage { /// The number of tokens. + #[allow(dead_code)] pub amount: b256, /// The user's address on the canonical chain. + #[allow(dead_code)] pub from: b256, /// The bridging target destination on the Fuel chain. + #[allow(dead_code)] pub to: Identity, /// The bridged token's address on the canonical chain. + #[allow(dead_code)] pub token_address: b256, /// The token's ID on the canonical chain. + #[allow(dead_code)] pub token_id: b256, /// The decimals of the token. + #[allow(dead_code)] pub decimals: u8, /// The type of deposit made. + #[allow(dead_code)] pub deposit_type: DepositType, }