forked from stellar/rs-soroban-env
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is now ready to merge. Does the following: - [x] take new XDR from stellar/rs-stellar-xdr#359 - [x] bump current protocol 20->21 and next 21->22 - [x] remove `feature="next"` gates guarding protocol 21 functionality (note: this is not _all_ `feature="next"` gates, some test the very concept of next-ness and should remain) - [ ] defer to next PR: ~bump workspace version to 21.0.0~ - [ ] defer to next PR: ~remove `feature="unstable-next-api"` gates~ - [x] run observations for protocol 21 - [x] modify CI to run tests twice, once with TEST_PROTOCOL=20 and once with TEST_PROTOCOL=21 - [x] modify recent VMCaller-using secp256r1 tests to go through the env now that it supports those host functions - [x] fix all tests broken by the above --------- Co-authored-by: Dmytro Kozhevin <[email protected]>
- Loading branch information
Showing
527 changed files
with
158,527 additions
and
658 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
soroban-env-host/benches/common/cost_types/compute_ecdsa_secp256k1_sig.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
#[cfg(feature = "next")] | ||
mod decode_secp256r1_sig; | ||
mod ecdsa_secp256k1_verify; | ||
mod ecdsa_secp256r1_recover; | ||
mod ed25519_scalar_mul; | ||
mod read_xdr; | ||
#[cfg(feature = "next")] | ||
mod sec1_decode_point_compressed; | ||
|
||
#[cfg(feature = "next")] | ||
pub(crate) use decode_secp256r1_sig::*; | ||
pub(crate) use ecdsa_secp256k1_verify::*; | ||
pub(crate) use ecdsa_secp256r1_recover::*; | ||
pub(crate) use ed25519_scalar_mul::*; | ||
pub(crate) use read_xdr::*; | ||
#[cfg(feature = "next")] | ||
pub(crate) use sec1_decode_point_compressed::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
soroban-env-host/observations/20/test__crypto__test_secp256r1_signature_verification.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
{ | ||
" 0 begin": "cpu:0, mem:0, prngs:-/-, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-", | ||
" 1 call bytes_new_from_slice(65)": "", | ||
" 2 ret bytes_new_from_slice -> Ok(Bytes(obj#1))": "cpu:977, mem:145, objs:-/1@b2474f93", | ||
" 3 call bytes_new_from_slice(32)": "", | ||
" 4 ret bytes_new_from_slice -> Ok(Bytes(obj#3))": "cpu:1946, mem:257, objs:-/2@6c013500", | ||
" 5 call bytes_new_from_slice(64)": "", | ||
" 6 ret bytes_new_from_slice -> Ok(Bytes(obj#5))": "cpu:2923, mem:401, objs:-/3@2fb55113", | ||
" 7 end": "cpu:0, mem:0, prngs:-/-, objs:-/3@2fb55113, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
" 1 end": "cpu:0, mem:0, prngs:-/-, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
} |
4 changes: 4 additions & 0 deletions
4
...observations/20/test__dispatch__invalid_object_handle_extend_contract_code_ttl_arg_0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
" 0 begin": "cpu:14488, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-", | ||
" 1 end": "cpu:0, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
} |
4 changes: 4 additions & 0 deletions
4
...rvations/20/test__dispatch__invalid_object_handle_extend_contract_instance_ttl_arg_0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
" 0 begin": "cpu:14488, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-", | ||
" 1 end": "cpu:0, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
} |
4 changes: 4 additions & 0 deletions
4
...servations/20/test__dispatch__invalid_object_handle_verify_sig_ecdsa_secp256r1_arg_0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
" 0 begin": "cpu:14488, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-", | ||
" 1 end": "cpu:0, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
} |
4 changes: 4 additions & 0 deletions
4
...servations/20/test__dispatch__invalid_object_handle_verify_sig_ecdsa_secp256r1_arg_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
" 0 begin": "cpu:14488, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-", | ||
" 1 end": "cpu:0, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
} |
4 changes: 4 additions & 0 deletions
4
...servations/20/test__dispatch__invalid_object_handle_verify_sig_ecdsa_secp256r1_arg_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
" 0 begin": "cpu:14488, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-", | ||
" 1 end": "cpu:0, mem:0, prngs:-/9b4a753, objs:-/-, vm:-/-, evt:-, store:-/-, foot:-, stk:-, auth:-/-" | ||
} |
8 changes: 8 additions & 0 deletions
8
soroban-env-host/observations/20/test_v_new_call_nonexistent_wasm_call.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
" 0 begin": "cpu:0, mem:0, prngs:-/-, objs:-/-, vm:-/-, evt:-, store:-/2@52b01770, foot:2@a244340d, stk:-, auth:-/-", | ||
" 1 call vec_new()": "cpu:42436, mem:373, objs:-/1@10432200, store:-/1@6f750601, foot:1@2784223c", | ||
" 2 ret vec_new -> Ok(Vec(obj#3))": "cpu:42937, mem:437, objs:-/2@acf0be8f", | ||
" 3 call call(Address(obj#1), Symbol(test), Vec(obj#3))": "", | ||
" 4 ret call -> Err(Error(Storage, ExceededLimit))": "cpu:51600, mem:941", | ||
" 5 end": "cpu:51600, mem:941, prngs:-/-, objs:-/2@acf0be8f, vm:-/-, evt:-, store:-/1@6f750601, foot:1@2784223c, stk:-, auth:-/-" | ||
} |
Oops, something went wrong.