File tree 6 files changed +13
-8
lines changed
testdata/versioned_constants
6 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 35
35
with :
36
36
script : |
37
37
const msrv = '${{ steps.rust-version.outputs.highest-msrv }}'
38
- const previous_msrv = '1.81 .0'
38
+ const previous_msrv = '1.85 .0'
39
39
40
40
if (msrv != previous_msrv) {
41
41
github.rest.issues.createComment({
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ juno-cached: ## Cached Juno compilation
44
44
@go build $(GO_TAGS ) -ldflags=" -X main.Version=$( shell git describe --tags) " -o build/juno ./cmd/juno/
45
45
46
46
47
- MINIMUM_RUST_VERSION = 1.81 .0
47
+ MINIMUM_RUST_VERSION = 1.85 .0
48
48
CURR_RUST_VERSION = $(shell rustc --version | grep -o '[0-9.]\+' | head -n1)
49
49
check-rust : # # Ensure rust version is greater than minimum
50
50
@echo " Checking if current rust version >= $( MINIMUM_RUST_VERSION) "
Original file line number Diff line number Diff line change 47
47
48
48
- Golang 1.23 or higher is required to build and run the project. You can find the installer on
49
49
the official Golang [ download] ( https://go.dev/doc/install ) page.
50
- - [ Rust] ( https://www.rust-lang.org/tools/install ) 1.81 .0 or higher.
50
+ - [ Rust] ( https://www.rust-lang.org/tools/install ) 1.85 .0 or higher.
51
51
- A C compiler: ` gcc ` .
52
52
- Install some dependencies on your system:
53
53
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ edition = "2021"
8
8
[dependencies ]
9
9
serde = " 1.0.208"
10
10
serde_json = { version = " 1.0.125" , features = [" raw_value" ] }
11
- blockifier = " 0.14.0-rc.1 "
11
+ blockifier = " = 0.14.0-rc.3 "
12
12
cairo-lang-casm = " =2.10.1"
13
13
cairo-lang-starknet-classes = " =2.10.0"
14
14
cairo-lang-runner = { version = " 2.10.0" }
15
- starknet_api = " 0.14.0-rc.1 "
15
+ starknet_api = " = 0.14.0-rc.3 "
16
16
cairo-vm = " =1.0.2"
17
17
starknet-types-core = { version = " 0.1.6" , features = [" hash" , " prime-bigint" ] }
18
18
indexmap = " 2.1.0"
Original file line number Diff line number Diff line change @@ -718,12 +718,14 @@ pub extern "C" fn setVersionedConstants(json_bytes: *const c_char) -> *const c_c
718
718
}
719
719
} ;
720
720
721
- match serde_json:: from_str ( json_str) {
721
+ match serde_json:: from_str :: < VersionedConstants > ( json_str) {
722
722
Ok ( parsed) => unsafe {
723
723
CUSTOM_VERSIONED_CONSTANTS = Some ( parsed) ;
724
724
CString :: new ( "" ) . unwrap ( ) . into_raw ( ) // No error, return an empty string
725
725
} ,
726
- Err ( _) => CString :: new ( "Failed to parse JSON" ) . unwrap ( ) . into_raw ( ) ,
726
+ Err ( e) => CString :: new ( format ! ( "Failed to parse JSON: {}" , e) )
727
+ . unwrap ( )
728
+ . into_raw ( ) ,
727
729
}
728
730
}
729
731
Original file line number Diff line number Diff line change 219
219
"step_gas_cost" : 0 ,
220
220
"syscall_base_gas_cost" : 0
221
221
}
222
- }
222
+ },
223
+ "v1_bound_accounts_cairo0" : [],
224
+ "v1_bound_accounts_cairo1" : [],
225
+ "v1_bound_accounts_max_tip" : " 0x0"
223
226
},
224
227
"os_resources" : {
225
228
"execute_syscalls" : {
You can’t perform that action at this time.
0 commit comments