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-v0.13.4 into main #3178

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
8c6d0c6
chore(blockifier): remove the RC from the version (for publish)
dorimedini-starkware Oct 22, 2024
4dc3bd8
chore(blockifier): revert version changes for publish
dorimedini-starkware Oct 22, 2024
2df4959
Merge remote-tracking branch 'origin/main-v0.13.2' into dori/merge-bl…
dorimedini-starkware Oct 22, 2024
1e8d3f9
Merge pull request #1541 from starkware-libs/dori/merge-blockifier-pu…
dorimedini-starkware Nov 4, 2024
082a8b1
test(blockifier): storage changes after inner revert (#2918)
AvivYossef-starkware Dec 24, 2024
423f696
chore(cairo_native): add the compilation of native to the flow (#2770)
meship-starkware Dec 24, 2024
7002777
test(blockifier): inner revert in cairo 1 contract (#2889)
AvivYossef-starkware Dec 24, 2024
d1367b0
feat(ci): update papyrus docker build workflow for release branches (…
dorimedini-starkware Dec 24, 2024
357c73e
refactor(papyrus_state_reader): code cleanup + caching with sierra on…
noaov1 Dec 24, 2024
f1e1e56
feat: reinstate rustfmt script, detach from CI
Dec 24, 2024
d30e22a
fix(blockifier): move max sierra_gas constants under os_constants (#2…
TzahiTaub Dec 25, 2024
3ee6e46
test(blockifier): revert storgae changes (#2913)
AvivYossef-starkware Dec 25, 2024
e27f8ff
refactor(blockifier): revert contract test (#2941)
AvivYossef-starkware Dec 25, 2024
93c3ef6
chore(cairo_native): add native to stack trace test (#2633)
meship-starkware Dec 25, 2024
dc7d42d
chore(blockifier): remove todos (#2947)
aner-starkware Dec 26, 2024
95e43c5
chore(blockifier): impl deserialize for versioned_constants (#2838)
Yonatan-Starkware Dec 26, 2024
6f09863
chore(blockifier, native_blockifier, starknet_batcher): remove visite…
Yoni-Starkware Dec 26, 2024
2323338
fix(cairo_native): fix libcairo_native env variable path in config.to…
meship-starkware Dec 29, 2024
8552dd5
chore(blockifier): add feild channel_size to contract_class_manager_c…
avivg-starkware Dec 29, 2024
2a7d97c
fix(blockifier): get alias from last state diff (#2946)
yoavGrs Dec 29, 2024
b875cc0
fix(ci): compile rust docs in release and deny warnings (#2824)
giladchase Dec 30, 2024
c972755
feat(blockifier): initial_gas of call to empty ctor derived from trac…
TzahiTaub Dec 30, 2024
27b39c0
feat(blockifier): return compressed state diff at finalizing (#2767)
yoavGrs Dec 30, 2024
d665d40
chore(deployment): cdk8s refactor (#2468) (#3025)
idan-starkware Dec 31, 2024
d153d13
fix(blockifier): avoid negative consumed gas (#2922)
avivg-starkware Dec 31, 2024
8aaddf0
feat(blockifier): refactor native stack config (#3003)
AvivYossef-starkware Jan 1, 2025
e079ccf
feat: allow limiting system resources in compilation processes (#2500)
avi-starkware Jan 1, 2025
df4908d
feat(blockifier): add keccak round resource (#3037)
noaov1 Jan 1, 2025
3c8317b
chore(papyrus_rpc): checked add for gas amount (#2978)
aner-starkware Jan 1, 2025
06e5f87
fix(cairo_native): bugfix in cairo native syscall handler (#3043)
meship-starkware Jan 1, 2025
b6bf08d
feat(blockifier): set keccak resources (#3059)
noaov1 Jan 2, 2025
fe12163
Merge remote-tracking branch 'origin/main-v0.13.2' into amos/merge-ma…
amosStarkware Jan 2, 2025
1035f36
No conflicts in main-v0.13.2 -> main-v0.13.4 merge, this commit is fo…
amosStarkware Jan 2, 2025
3f62ba4
feat(blockifier): support reverted sierra gas tracking and charging (…
dorimedini-starkware Jan 2, 2025
2c0c132
feat(blockifier): only consume a step in the VM if we are tracking st…
dorimedini-starkware Jan 2, 2025
cc7e63e
test(blockifier): update test_reverted_reach_steps_limit for gas reve…
dorimedini-starkware Jan 2, 2025
3aa6191
feat(blockifier): convert L2 gas to L1 gas units when computing fee w…
dorimedini-starkware Jan 2, 2025
857f3a0
Merge pull request #3081 from starkware-libs/amos/merge-main-v0.13.2-…
dorimedini-starkware Jan 2, 2025
75be280
chore(cairo_native): add compiler file path configs (#3027)
avi-starkware Jan 5, 2025
85a0a5a
chore(cairo_native): add compilation resources limit to config (#3097)
noaov1 Jan 5, 2025
61d6140
chore(cairo_native): add cairo native run config (#3099)
noaov1 Jan 5, 2025
2cf1a8b
feat(cairo_native): apply resource limits to compilation processes (#…
avi-starkware Jan 5, 2025
5745e22
feat(ci): push new artifacts along with native blockifier artifacts (…
avi-starkware Jan 5, 2025
92bc603
chore(blockifier): remove syscall_gas_costs from os_constans (#2864)
Yonatan-Starkware Jan 6, 2025
0dd87a8
feat(blockifier): take gas_consumed for CallInfo directly from CallRe…
TzahiTaub Jan 6, 2025
790ade6
feat(blockifier): remove ChargedResources from CallInfo (#3119)
TzahiTaub Jan 6, 2025
886e893
chore(cairo_native): update cairo native version to 0.2.5-rc1 (#2839)
meship-starkware Jan 6, 2025
00b7ded
chore(cairo_native): add cairo version template for native tests (#3083)
meship-starkware Jan 6, 2025
c7e38f5
feat(starknet_infra_utils): rename crate from infra_utils (#3129)
dorimedini-starkware Jan 6, 2025
7ee6f4c
chore(blockifier): test negative consumed gas (#3005)
avivg-starkware Jan 6, 2025
aa2ef2c
fix(blockifier): block get_class_hash syscall in validate mode (#3136)
noaov1 Jan 8, 2025
41080c5
chore: merge branch main-v0.13.4 into main (with conflicts)
meship-starkware Jan 8, 2025
bbd4439
merge branch main-v0.13.4 into main (without conflicts)
meship-starkware Jan 8, 2025
231b191
Merge remote-tracking branch 'origin/main' into meshi/merge-main-v0.1…
meship-starkware Jan 8, 2025
6a397db
Merge remote-tracking branch 'origin/main' into meshi/merge-main-v0.1…
meship-starkware Jan 8, 2025
f3596b2
Merge remote-tracking branch 'origin/main' into meshi/merge-main-v0.1…
meship-starkware Jan 9, 2025
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
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[env]
CAIRO_NATIVE_RUNTIME_LIBRARY = "./libcairo_native_runtime.a"
CAIRO_NATIVE_RUNTIME_LIBRARY = "../blockifier/libcairo_native_runtime.a"
LLVM_SYS_191_PREFIX = "/usr/lib/llvm-19/"
MLIR_SYS_190_PREFIX = "/usr/lib/llvm-19/"
TABLEGEN_190_PREFIX = "/usr/lib/llvm-19/"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
env:
CI: 1
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"
RUSTDOCFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"
EXTRA_RUST_TOOLCHAINS: nightly-2024-04-29

# On PR events, cancel existing CI runs on this same PR for this workflow.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/papyrus_docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=ref,event=pr
# set `dev` tag for the default branch (`main`).
type=raw,value=dev,enable={{is_default_branch}}
# set `main*` tag for the default / release branches.
type=raw,value={{branch}},enable=${{ github.event_name == 'push' && contains(github.ref, 'main') }}
type=raw,value={{branch}}{{tag}}-{{sha}},enable=${{ github.event_name == 'workflow_dispatch' }}

# Build and push Docker image with Buildx
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/upload_artifacts_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ jobs:
* [Started at ${{ github.event.pull_request.updated_at }}](${{ env.WORKFLOW_LINK }})

# Build artifact.
- uses: ./.github/actions/bootstrap
- name: Build native blockifier
run: ./build_native_in_docker.sh scripts/build_native_blockifier.sh
run: |
./build_native_in_docker.sh scripts/build_native_blockifier.sh

# Rename is required; see https://pyo3.rs/v0.19.2/building_and_distribution#manual-builds.
- name: Rename shared object
Expand All @@ -115,9 +115,23 @@ jobs:
with:
credentials_json: ${{ secrets.SA_NATIVE_BLOCKIFIER_ARTIFACTS_BUCKET_WRITER_ACCESS_KEY }}

- name: Upload binary to GCP
id: upload_file
- name: Upload native blockifier shared object to GCP
id: upload_nb_file
uses: "google-github-actions/upload-cloud-storage@v2"
with:
path: "target/release/native_blockifier.pypy39-pp73-x86_64-linux-gnu.so"
destination: "native_blockifier_artifacts/${{ env.SHORT_HASH }}/release/"

- name: Upload starknet-native-compile to GCP
id: upload_snc_file
uses: "google-github-actions/upload-cloud-storage@v2"
with:
path: "target/release/shared_executables/starknet-native-compile"
destination: "native_blockifier_artifacts/${{ env.SHORT_HASH }}/release/"

- name: Upload libcairo_native_runtime.a to GCP
id: upload_lnr_file
uses: "google-github-actions/upload-cloud-storage@v2"
with:
path: "crates/blockifier/cairo_native/target/release/libcairo_native_runtime.a"
destination: "native_blockifier_artifacts/${{ env.SHORT_HASH }}/release/"
Loading
Loading