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

Merge main into develop #2024

Merged
merged 51 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
984f7df
tweak: Markups for #1910, and some auth-zone neatenings
dhedey Nov 11, 2024
8d54165
tweak: Update inline documentation
dhedey Nov 11, 2024
143a77d
tweak: Adds explicit `AnyInstruction` alias.
dhedey Nov 20, 2024
ba43323
tests: Add further subintent and verify parent auth tests
dhedey Nov 21, 2024
164f5c5
refactor: Separate TransactionValidator into separate files
dhedey Nov 22, 2024
ea2ff3c
refactor: Improved transaction validation abstractions
dhedey Nov 22, 2024
4733ad7
Merge pull request #2010 from radixdlt/tests/further-cuttlefish-funct…
dhedey Nov 22, 2024
0074eab
Merge branch 'release/cuttlefish' into tests/transaction-validation-r…
dhedey Nov 22, 2024
1eca2d3
tweak: Fix some rust docs in the intent relationship validator
dhedey Nov 22, 2024
7a3e55d
refactor: Add TransactionBuilder helper methods in cfg(test)
dhedey Nov 22, 2024
3dffba7
tests: Added tests for each `SubintentStructureError`
dhedey Nov 22, 2024
d6ad289
fix: Fix no-std compiler errors
dhedey Nov 22, 2024
a9a8c29
tweak: Fix `assert_matches!` trailing comma handling
dhedey Nov 25, 2024
b4c90cd
tests: Add test for incorrect signature batch count
dhedey Nov 25, 2024
9bc74cc
tests: Add `MessageV2` validation tests
dhedey Nov 25, 2024
d3849a9
tests: Test all V2 header validations
dhedey Nov 25, 2024
21e4e53
fix: Fix `assert_matches!` trailing comma issues
dhedey Nov 25, 2024
44436e6
Merge remote-tracking branch 'origin/feature/fix-fuzzing-build' into …
lrubasze Nov 25, 2024
438fc29
Fix manifest parsing of values within parenthesis
lrubasze Nov 25, 2024
2e7d7a6
tests: Add tests for each `ManifestValidationError`
dhedey Nov 25, 2024
4b802f1
tests: Add test for each transaction `PrepareError`
dhedey Nov 25, 2024
bb4d559
Merge pull request #2007 from radixdlt/refactor/any-instruction
dhedey Nov 25, 2024
761fbf4
tweak: Manifest compiler diag files are plaintext for easier review
dhedey Nov 25, 2024
74e6a8b
tests: Added tests for all the new manifest compilation errors
dhedey Nov 25, 2024
980615d
fix: Fix SBOR test regarding `[Root]` path
dhedey Nov 26, 2024
e456974
Return the same span no matter the values length
lrubasze Nov 26, 2024
45cd684
Update tests
lrubasze Nov 26, 2024
f171d15
Merge pull request #2016 from radixdlt/fix/manifest_parsing
lrubasze Nov 26, 2024
7e1c4e5
Merge pull request #2015 from radixdlt/tests/further-transaction-vali…
iamyulong Nov 26, 2024
603b3c1
Merge pull request #2013 from radixdlt/tests/transaction-structure-tests
iamyulong Nov 26, 2024
17f9a82
Merge remote-tracking branch 'origin/release/cuttlefish' into tests/t…
iamyulong Nov 26, 2024
1b22e3e
Merge pull request #2012 from radixdlt/tests/transaction-validation-r…
iamyulong Nov 26, 2024
26a194b
Fix version update script
iamyulong Nov 26, 2024
d11c035
Add crates token
shambupujar Nov 26, 2024
da59609
Merge pull request #2019 from radixdlt/fix/dispatch-workflow
iamyulong Nov 26, 2024
183207f
Fix typo
iamyulong Nov 26, 2024
ebe8dc2
Merge pull request #1999 from radixdlt/tweak/various-markups-cuttlefish
iamyulong Nov 26, 2024
2eefe6b
Fix merge error
iamyulong Nov 26, 2024
3f903bb
Do not update package dependencies
iamyulong Nov 26, 2024
fb95977
Reorder entry in test-cargo-crates-release.sh
iamyulong Nov 26, 2024
36ffb06
Add --no-verify flag
iamyulong Nov 26, 2024
9dd5776
Remove dry-run, use rc.1 for testing
iamyulong Nov 26, 2024
64cb2ca
Update version to 1.3.0-rc.1
Nov 26, 2024
66b7323
Merge pull request #2020 from radixdlt/release/cuttlefish
iamyulong Nov 26, 2024
b783d94
Fix the reusable action
shambupujar Nov 26, 2024
e209f44
Merge pull request #2022 from radixdlt/fix/reusable_workflow
iamyulong Nov 26, 2024
c79f0fb
Remove --dry-run step
iamyulong Nov 26, 2024
5672232
Remove if condition
iamyulong Nov 26, 2024
4155c06
Add radix-engine README
iamyulong Nov 26, 2024
c284120
Update version to 1.3.0-rc.2
Nov 26, 2024
030f631
Merge pull request #2023 from radixdlt/release/cuttlefish
iamyulong Nov 26, 2024
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
7 changes: 3 additions & 4 deletions .github/workflows/dispatch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions: write-all

jobs:
dispatch-release:
environment: release
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main
Expand All @@ -36,13 +37,11 @@ jobs:
git add .
git commit -m "Update version to ${VERSION_NUMBER:1}"

echo "Testing to release all updated cargo crates"
./test-cargo-crates-release.sh

git push
# gh release create ${VERSION_NUMBER} --notes "Release from dispatch" --prerelease
git tag ${VERSION_NUMBER}
git push --tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION_NUMBER: ${{ inputs.release-tag }}
VERSION_NUMBER: ${{ inputs.release-tag }}
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
30 changes: 1 addition & 29 deletions .github/workflows/publish-cargo-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main
- uses: radixdlt/iac-resuable-artifacts/fetch-secrets@v0.8.0
- uses: radixdlt/public-iac-resuable-artifacts/fetch-secrets@main
with:
role_name: "arn:aws:iam::308190735829:role/gh-common-secrets-read-access"
app_name: "radixdlt-scrypto"
step_name: "publish-crate"
secret_prefix: "CRATES"
secret_name: "arn:aws:secretsmanager:eu-west-2:308190735829:secret:github-actions/common/cratesio-token-IjOP4n"
parse_json: true
- name: Dry Run Publish crates
if: github.event.release.prerelease
run: |
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-rust/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./sbor-derive-common/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./sbor-derive/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./sbor/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-sbor-derive/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-common/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-common-derive/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-blueprint-schema-init/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-engine-interface/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./scrypto-derive/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./scrypto/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-substate-store-interface/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-substate-store-impls/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-engine-profiling/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-engine-profiling-derive/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-native-sdk/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-transactions/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-engine/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-transaction-scenarios/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-substate-store-queries/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./scrypto-bindgen/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./scrypto-compiler/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./scrypto-test/Cargo.toml"
cargo publish --dry-run --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-clis/Cargo.toml"
- name: Publish crates
if: github.event.release.prerelease == false
run: |
cargo publish --token "${{ env.CRATES_TOKEN }}" --manifest-path "./radix-rust/Cargo.toml"
cargo publish --token "${{ env.CRATES_TOKEN }}" --manifest-path "./sbor-derive-common/Cargo.toml"
Expand Down
58 changes: 29 additions & 29 deletions Cargo.lock

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

48 changes: 24 additions & 24 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,30 @@ members = [
]

[workspace.dependencies]
radix-blueprint-schema-init = { version = "1.3.0-dev", path = "./radix-blueprint-schema-init", default-features = false }
radix-common = { version = "1.3.0-dev", path = "./radix-common", default-features = false }
radix-common-derive = { version = "1.3.0-dev", path = "./radix-common-derive", default-features = false }
radix-engine = { version = "1.3.0-dev", path = "./radix-engine", default-features = false }
radix-engine-toolkit-common = { version = "1.3.0-dev", path = "./radix-engine-toolkit-common", default-features = false }
radix-engine-interface = { version = "1.3.0-dev", path = "./radix-engine-interface", default-features = false }
radix-engine-profiling = { version = "1.3.0-dev", path = "./radix-engine-profiling", default-features = false }
radix-engine-profiling-derive = { version = "1.3.0-dev", path = "./radix-engine-profiling-derive", default-features = false }
radix-native-sdk = { version = "1.3.0-dev", path = "./radix-native-sdk", default-features = false }
radix-rust = { version = "1.3.0-dev", path = "./radix-rust", default-features = false }
radix-sbor-derive = { version = "1.3.0-dev", path = "./radix-sbor-derive", default-features = false }
radix-substate-store-impls = { version = "1.3.0-dev", path = "./radix-substate-store-impls", default-features = false }
radix-substate-store-interface = { version = "1.3.0-dev", path = "./radix-substate-store-interface", default-features = false }
radix-substate-store-queries = { version = "1.3.0-dev", path = "./radix-substate-store-queries", default-features = false }
radix-transaction-scenarios = { version = "1.3.0-dev", path = "./radix-transaction-scenarios", default-features = false }
radix-transactions = { version = "1.3.0-dev", path = "./radix-transactions", default-features = false }
sbor = { version = "1.3.0-dev", path = "./sbor", default-features = false }
sbor-derive = { version = "1.3.0-dev", path = "./sbor-derive", default-features = false }
sbor-derive-common = { version = "1.3.0-dev", path = "./sbor-derive-common", default-features = false }
scrypto = { version = "1.3.0-dev", path = "./scrypto", default-features = false }
scrypto-bindgen = { version = "1.3.0-dev", path = "./scrypto-bindgen", default-features = false }
scrypto-compiler = { version = "1.3.0-dev", path = "./scrypto-compiler", default-features = false }
scrypto-derive = { version = "1.3.0-dev", path = "./scrypto-derive", default-features = false }
scrypto-test = { version = "1.3.0-dev", path = "./scrypto-test", default-features = false }
radix-blueprint-schema-init = { version = "1.3.0-rc.2", path = "./radix-blueprint-schema-init", default-features = false }
radix-common = { version = "1.3.0-rc.2", path = "./radix-common", default-features = false }
radix-common-derive = { version = "1.3.0-rc.2", path = "./radix-common-derive", default-features = false }
radix-engine = { version = "1.3.0-rc.2", path = "./radix-engine", default-features = false }
radix-engine-toolkit-common = { version = "1.3.0-rc.2", path = "./radix-engine-toolkit-common", default-features = false }
radix-engine-interface = { version = "1.3.0-rc.2", path = "./radix-engine-interface", default-features = false }
radix-engine-profiling = { version = "1.3.0-rc.2", path = "./radix-engine-profiling", default-features = false }
radix-engine-profiling-derive = { version = "1.3.0-rc.2", path = "./radix-engine-profiling-derive", default-features = false }
radix-native-sdk = { version = "1.3.0-rc.2", path = "./radix-native-sdk", default-features = false }
radix-rust = { version = "1.3.0-rc.2", path = "./radix-rust", default-features = false }
radix-sbor-derive = { version = "1.3.0-rc.2", path = "./radix-sbor-derive", default-features = false }
radix-substate-store-impls = { version = "1.3.0-rc.2", path = "./radix-substate-store-impls", default-features = false }
radix-substate-store-interface = { version = "1.3.0-rc.2", path = "./radix-substate-store-interface", default-features = false }
radix-substate-store-queries = { version = "1.3.0-rc.2", path = "./radix-substate-store-queries", default-features = false }
radix-transaction-scenarios = { version = "1.3.0-rc.2", path = "./radix-transaction-scenarios", default-features = false }
radix-transactions = { version = "1.3.0-rc.2", path = "./radix-transactions", default-features = false }
sbor = { version = "1.3.0-rc.2", path = "./sbor", default-features = false }
sbor-derive = { version = "1.3.0-rc.2", path = "./sbor-derive", default-features = false }
sbor-derive-common = { version = "1.3.0-rc.2", path = "./sbor-derive-common", default-features = false }
scrypto = { version = "1.3.0-rc.2", path = "./scrypto", default-features = false }
scrypto-bindgen = { version = "1.3.0-rc.2", path = "./scrypto-bindgen", default-features = false }
scrypto-compiler = { version = "1.3.0-rc.2", path = "./scrypto-compiler", default-features = false }
scrypto-derive = { version = "1.3.0-rc.2", path = "./scrypto-derive", default-features = false }
scrypto-test = { version = "1.3.0-rc.2", path = "./scrypto-test", default-features = false }

arbitrary = { version = "1.3.0", features = ["derive"] }
bech32 = { version = "0.9.0", default-features = false }
Expand Down
Loading
Loading