Skip to content

Commit

Permalink
fix: upgrade compiler version (#214)
Browse files Browse the repository at this point in the history
Signed-off-by: Urban Vidovič <[email protected]>
Co-authored-by: Urban Vidovič <[email protected]>
  • Loading branch information
martines3000 and pseudobun authored Nov 3, 2024
1 parent abb04ad commit 6690041
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Forc.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[package]]
name = "core"
source = "path+from-root-7053AAA90CC5E690"
source = "path+from-root-F64B6E1A883A7E7B"

[[package]]
name = "market"
Expand Down Expand Up @@ -63,7 +63,7 @@ dependencies = ["std"]

[[package]]
name = "std"
source = "git+https://github.com/fuellabs/sway?tag=v0.66.2#31486c0b47669612acb7c64d66ecb50aea281282"
source = "git+https://github.com/fuellabs/sway?tag=v0.66.4#d7dd104dac4394aa7af56f05b720c975744db853"
dependencies = ["core"]

[[package]]
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/contract-types/Market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4812,7 +4812,7 @@ const abi = {
{
"name": "DEBUG_STEP",
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
"offset": 143128
"offset": 137368
}
]
};
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/contract-types/MarketFactory.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/frontend/src/contract-types/PythMockFactory.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions apps/frontend/src/contract-types/Src20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,22 +620,22 @@ const abi = {
{
"name": "DECIMALS",
"concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b",
"offset": 26440
"offset": 25616
},
{
"name": "NAME",
"concreteTypeId": "fd59cdd2c531ab3564f4fcc13eb876860d4d7cd4d12aa1f042a5aeceacde951f",
"offset": 26456
"offset": 25632
},
{
"name": "SYMBOL",
"concreteTypeId": "84877f6e98274b9e4721db68b4c0bdb9e52b8e9572c5bd7811c07a41ced882c7",
"offset": 26464
"offset": 25640
},
{
"name": "MAX_SUPPLY",
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
"offset": 26448
"offset": 25624
}
]
};
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/contract-types/Src20Factory.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/frontend/src/contract-types/TokenFactory.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/indexer-sentio/abis/fuel/market-abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@
{
"name": "DEBUG_STEP",
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
"offset": 137392
"offset": 137368
}
]
}
2 changes: 1 addition & 1 deletion apps/indexer/abi/market-abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@
{
"name": "DEBUG_STEP",
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
"offset": 137504
"offset": 137368
}
]
}
2 changes: 1 addition & 1 deletion contracts/market/src/main.sw
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use sway_libs::ownership::*;
use sway_libs::signed_integers::i256::I256;

// version of the smart contract
const VERSION: u8 = 3_u8;
const VERSION: u8 = 4_u8;

// pyth oracle configuration params
const ORACLE_MAX_STALENESS: u64 = 60; // 60 seconds
Expand Down
2 changes: 1 addition & 1 deletion fuel-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
channel = "latest-aarch64-apple-darwin"

[components]
forc = "0.66.2"
forc = "0.66.4"
fuel-core = "0.40.0"

0 comments on commit 6690041

Please sign in to comment.