Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump standards to forc v0.50 #58

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ concurrency:
env:
CARGO_TERM_COLOR: always
REGISTRY: ghcr.io
RUST_VERSION: 1.73.0
FORC_VERSION: 0.49.1
RUST_VERSION: 1.75.0
FORC_VERSION: 0.50.0
CORE_VERSION: 0.22.0
PATH_TO_SCRIPTS: .github/scripts

Expand Down
12 changes: 6 additions & 6 deletions standards/src10-native-bridge/src/src10.sw
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ library;
/// Enscapsultes metadata sent between the canonical chain and Fuel.
struct MessageData {
/// The number of tokens.
amount: b256,
pub amount: b256,
/// The user's address on the canonical chain.
from: b256,
pub from: b256,
/// The number of deposit messages.
len: u16,
pub len: u16,
/// The bridging target destination on the Fuel chain.
to: Identity,
pub to: Identity,
/// The bridged token's address on the canonical chain.
token_address: b256,
pub token_address: b256,
/// The token's ID on the canonical chain.
token_id: b256,
pub token_id: b256,
}

abi SRC10 {
Expand Down
24 changes: 12 additions & 12 deletions standards/src6-vault/src/src6.sw
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@ library;
/// Event logged when a deposit is made.
pub struct Deposit {
/// The caller of the deposit function.
caller: Identity,
pub caller: Identity,
/// The receiver of the deposit.
receiver: Identity,
pub receiver: Identity,
/// The asset being deposited.
underlying_asset: AssetId,
pub underlying_asset: AssetId,
/// The SubId of the vault.
vault_sub_id: SubId,
pub vault_sub_id: SubId,
/// The amount of assets being deposited.
deposited_amount: u64,
pub deposited_amount: u64,
/// The amount of shares being minted.
minted_shares: u64,
pub minted_shares: u64,
}

/// Event logged when a withdrawal is made.
pub struct Withdraw {
/// The caller of the withdrawal function.
caller: Identity,
pub caller: Identity,
/// The receiver of the withdrawal.
receiver: Identity,
pub receiver: Identity,
/// The asset being withdrawn.
underlying_asset: AssetId,
pub underlying_asset: AssetId,
/// The SubId of the vault.
vault_sub_id: SubId,
pub vault_sub_id: SubId,
/// The amount of assets being withdrawn.
withdrawn_amount: u64,
pub withdrawn_amount: u64,
/// The amount of shares being burned.
burned_shares: u64,
pub burned_shares: u64,
}

abi SRC6 {
Expand Down
Loading