Skip to content

Commit

Permalink
Merge branch 'release/rcnet-v3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Sep 5, 2023
2 parents a07c00c + 293dd4c commit 0cd3ff3
Show file tree
Hide file tree
Showing 52 changed files with 740 additions and 583 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ jobs:
repository: radixdlt/uniffi-bindgen-cs
path: uniffi-bindgen-cs
submodules: 'recursive'
ref: f1a6ef67449b47028fd5c3d8e5c6d3b80ddefd2b
- uses: actions/download-artifact@v3
with:
path: artifacts
Expand Down
111 changes: 61 additions & 50 deletions generator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ edition = "2021"

[dependencies]
# radixdlt-scrypto dependencies.
sbor = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc", features = ["serde"] }
scrypto = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc", features = ["serde"] }
scrypto-unit = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc" }
transaction = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc" }
transaction-scenarios = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc" }
radix-engine = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc" }
radix-engine-stores = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc" }
radix-engine-common = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc", features = ["serde"] }
radix-engine-interface = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3-da3dbedc" }
sbor = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f", features = ["serde"] }
scrypto = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f", features = ["serde"] }
scrypto-unit = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f" }
transaction = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f" }
transaction-scenarios = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f" }
radix-engine = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f" }
radix-engine-stores = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f" }
radix-engine-common = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f", features = ["serde"] }
radix-engine-interface = { git = "https://github.com/radixdlt/radixdlt-scrypto", tag = "rcnet-v3.1-d8dbe49f" }

# Core Radix Engine Toolkit and Toolkit Native Library
radix-engine-toolkit-core = { path = "../radix-engine-toolkit-core", default-features = false, features = ["moka"]}
Expand Down
8 changes: 5 additions & 3 deletions generator/src/function_examples/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

use radix_engine::transaction::{
execute_and_commit_transaction, CostingParameters, ExecutionConfig, TransactionReceipt,
VersionedTransactionReceipt,
};
use radix_engine::types::ResourceOrNonFungible;
use radix_engine::vm::Vm;
Expand All @@ -33,8 +34,8 @@ use transaction_scenarios::scenarios::get_builder_for_every_scenario;

use super::traits::HasExamples;

impl<'f> HasExamples<'f, 65> for ExecutionAnalyze {
fn example_inputs() -> [Self::Input; 65] {
impl<'f> HasExamples<'f, 66> for ExecutionAnalyze {
fn example_inputs() -> [Self::Input; 66] {
let op1 = {
let mut test_runner = TestRunnerBuilder::new().without_trace().build();
let (public_key1, _, account1) = test_runner.new_account(true);
Expand Down Expand Up @@ -147,7 +148,8 @@ impl<'f> HasExamples<'f, 65> for ExecutionAnalyze {
let instructions =
to_serializable_instructions(&manifest.instructions, 0xf2).unwrap();
let instructions = SerializableInstructions::Parsed(instructions);
let preview_receipt = scrypto_encode(&receipt).unwrap();
let preview_receipt =
scrypto_encode(&VersionedTransactionReceipt::V1(receipt)).unwrap();

Self::Input {
instructions,
Expand Down
Loading

0 comments on commit 0cd3ff3

Please sign in to comment.