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

Rename serialized keys values/0 #3

Open
wants to merge 308 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
4f76fd7
Update devcontainer image: v1.0.0-alpha.6 (#2313)
tarrencev Aug 16, 2024
bb7d7df
feat(katana-tasks): task manager (#2318)
kariy Aug 20, 2024
8db91e7
refactor(katana): update execution error message (#2322)
kariy Aug 21, 2024
0955638
feat(dojo-core): add world test capabilities (#2323)
glihm Aug 21, 2024
54a891e
opt(torii): indexing model schema retrieval (#2319)
Larkooo Aug 21, 2024
4aa7454
feat(torii): make poll time configurable (#2327)
Larkooo Aug 21, 2024
e2ed073
Prepare release: v1.0.0-alpha.7 (#2324)
tarrencev Aug 21, 2024
3e3c33e
Update devcontainer image: v1.0.0-alpha.7 (#2329)
tarrencev Aug 21, 2024
a6b2ba6
Rename `common` crate -> `dojo-utils` (#2332)
kariy Aug 22, 2024
1981ae3
chore(dojo-utils): move `dojo-world::utils` module to `dojo-utils` (#…
kariy Aug 23, 2024
1cf67f8
fix(torii-graphql): expose namespace in models query (#2331)
lambda-0x Aug 23, 2024
51a678b
chore: `taplo fmt` (#2336)
kariy Aug 23, 2024
bdd1253
refactor(katana): relax nonce check in `estimateFee` (#2335)
kariy Aug 23, 2024
a3ddf39
feat: add macros for testing (#2337)
glihm Aug 23, 2024
599e368
feat(dojo-lang): add warnings for migrations with prints (#2316)
jsanchez556 Aug 24, 2024
f11b3a6
fix(schema): empty array name (#2339)
Larkooo Aug 25, 2024
1944389
fix(katana): ensure messages are ordered (#2326)
adrianvrj Aug 25, 2024
f9606d8
fix(dojo-core): adjust ACL to restore governance without relaxing per…
glihm Aug 26, 2024
419d1cf
feat(katana): pool validation (#2344)
kariy Aug 26, 2024
b2ce5ef
hotfix(katana): include invalid nonce message in rpc error data
kariy Aug 26, 2024
e1a349b
fix: ensure models generated Store trait exposes set/update/delete (#…
glihm Aug 27, 2024
3d8b3ba
feat(libp2p): websocket transport (#2347)
Larkooo Aug 28, 2024
961b8c0
fix: emit trace for unprocessed event only once (#2352)
lambda-0x Aug 28, 2024
94e4508
fix(sozo): ensure already registered resources don't make migration f…
glihm Aug 28, 2024
76dae5e
hotfix(katana): make sure validator state is synced with block produc…
kariy Aug 28, 2024
d668a4f
opt(torii): remove unused receipt from processor & reduce one rpc cal…
lambda-0x Aug 28, 2024
d31f81e
Prepare release: v1.0.0-alpha.8 (#2345)
tarrencev Aug 28, 2024
02e42be
Update devcontainer image: v1.0.0-alpha.8 (#2356)
tarrencev Aug 28, 2024
cf1d044
chore(torii): less noise in logs (#2358)
Larkooo Aug 28, 2024
a2fb8ce
fix(dojo-bindgen): ensure typescript plugin output deterministic orde…
glihm Aug 29, 2024
13cee86
fix(torii-relay): remove tls for ws (#2361)
glihm Aug 29, 2024
adbaad7
fix(katana): per transaction validator (#2362)
kariy Aug 29, 2024
1298382
chore(katana-rpc): test cleanup (#2363)
kariy Aug 29, 2024
fc1f894
fix(libp2p): fix typed data from model (#2357)
Larkooo Aug 29, 2024
061a6ef
fix(katana): set bouncer weight to max (#2367)
kariy Aug 29, 2024
e89ac13
dev: pin exact rust nightly version (#2365)
kariy Aug 29, 2024
d13fe8f
Update devcontainer image: e89ac13 (#2369)
tarrencev Aug 29, 2024
1d32ab1
feat(sozo): ensure sozo errors with dojo-core version mismatch (#2364)
glihm Aug 29, 2024
fea03f4
feat: add prefixes for sozo call and better output message (#2366)
glihm Aug 29, 2024
4556a35
chore(torii): remove unused parameters (#2360)
lambda-0x Aug 30, 2024
822c325
fix: ensure we check registered model and not declared models (#2368)
glihm Aug 30, 2024
2d22b96
fix: remove prints
glihm Aug 30, 2024
842c256
refactor(katana-pool): enable ordering using `BTreeSet` (#2370)
kariy Aug 30, 2024
e42ce0c
Prepare release: v1.0.0-alpha.9 (#2371)
tarrencev Aug 30, 2024
f62acf2
Update devcontainer image: v1.0.0-alpha.9 (#2372)
tarrencev Aug 30, 2024
1d95782
Break on empty events when loading from remote (#2376)
kariy Sep 1, 2024
27084a7
chore; use debug for pending tx log (#2383)
Larkooo Sep 3, 2024
5d7031e
refactor(katana-rpc): `getEvents` include pending block (#2375)
kariy Sep 4, 2024
da96b12
refactor(katana): move predeployedAccounts under DevApi and remove Ka…
glihm Sep 4, 2024
476f0f6
remove world and indexers table in favour of contracts
lambda-0x Aug 20, 2024
1bd00f5
opt(torii): batch query execution in sync_range
lambda-0x Aug 30, 2024
701d3fc
refactor(torii): make select block cancel safe
lambda-0x Sep 2, 2024
c62e02b
opt(torii): use hashmap instead of vector of event processors
lambda-0x Sep 2, 2024
e4381c6
opt(torii): fetch receipts along with blocks instead of fetching them…
lambda-0x Sep 3, 2024
c5665d9
opt(torii): avoid re-processing of transactions in certain case
lambda-0x Sep 3, 2024
37887c9
feat(docker): add infinite-file-curtailer to image (#2386)
steebchen Sep 5, 2024
c7ffa0b
Bump `blockifier` to HEAD of `cairo-2.7` branch (#2389)
kariy Sep 5, 2024
72002a2
fix system_name in bindgen (#2387)
wighawag Sep 6, 2024
dd4cd5f
fix(torii): offchain messages signature validation on first set (#2390)
edisontim Sep 6, 2024
ecab100
feat(dojo-compiler): add sierra to cairo debug information (#2392)
kariy Sep 6, 2024
f8784c4
Bump `blockifier` to latest rev (#2393)
kariy Sep 6, 2024
6b9da83
opt(torii): avoid calculating poseidon hash where possible (#2394)
lambda-0x Sep 8, 2024
28d843f
update default invoke max steps (#2395)
notV4l Sep 8, 2024
4d34bc5
fix: fix sozo issues with migration on sepolia (#2398)
glihm Sep 8, 2024
76458a3
Add walnut flag to sozo execute and migrate apply commands (#2333)
barabanovro Sep 8, 2024
f105912
Prepare release: v1.0.0-alpha.10 (#2399)
tarrencev Sep 9, 2024
ad9f960
refactor: use debug for process pendign logs (#2401)
Larkooo Sep 9, 2024
fbff45b
Prepare release: v1.0.0-alpha.11 (#2402)
tarrencev Sep 9, 2024
6112180
Update devcontainer image: v1.0.0-alpha.11 (#2403)
tarrencev Sep 9, 2024
b5403ec
chore(walnut): put under `walnut` feature flag (#2407)
kariy Sep 10, 2024
1ef88f8
feat(katana): add node handle (#2408)
kariy Sep 10, 2024
d4401e3
opt(katana): graceful shutdown on critical tasks termination (#2409)
kariy Sep 10, 2024
dbe8ca8
refactor(dojo-lang): output debug info conditionally (#2411)
kariy Sep 10, 2024
a3727ac
fix(katana-tasks): ensure is cancelled before waiting on shutdown (#2…
kariy Sep 10, 2024
80d1827
refactor(katana): separate node service task (#2413)
kariy Sep 11, 2024
bf4ea9b
Bump `blockifier` to `v0.8.0-rc3` (#2414)
kariy Sep 11, 2024
ebb3b70
fix(torii-grpc): member clause should never error out if no entities …
Larkooo Sep 12, 2024
d64fdae
refactor(torii): update query logic for them to not block (#2397)
lambda-0x Sep 13, 2024
ed2aa83
fix(sozo): update Controller dependencies (#2303)
kariy Sep 14, 2024
069bc1a
feat: filtering bytearrays with member clause (#2425)
Larkooo Sep 15, 2024
a96c4c9
Bump `slot` to `0.14.1` (#2432)
kariy Sep 16, 2024
b039f53
opt-fix(torii-core): fix and optimize partial updates (#2427)
Larkooo Sep 16, 2024
6671efa
Rename all remaining `FieldElement`s to `Felt` for consistency (#2433)
kariy Sep 16, 2024
f710fa7
refactor/fix(torii-core): correctly queue entity deletions (#2428)
Larkooo Sep 16, 2024
2d6e5de
bench: add sozo build bench for spawn and move (#2419)
glihm Sep 16, 2024
f4e15f1
opt(katana): graceful shutdown on `SIGTERM` (#2434)
kariy Sep 16, 2024
435c2d1
fix: dojo-lang tests with default namespace (#2422)
remybar Sep 16, 2024
09203e8
refactor: member clauses handle struct fields & operators & recursive…
Larkooo Sep 16, 2024
9b5cebd
Handle graceful shtudown on `SIGTERM` for all binaries (#2435)
kariy Sep 16, 2024
91a0fd0
feat(torii-core): parallelization (#2423)
Larkooo Sep 17, 2024
b391948
Prepare release: v1.0.0-alpha.12 (#2436)
tarrencev Sep 17, 2024
21ec45e
fix(torii): only update curor when required (#2438)
lambda-0x Sep 17, 2024
8613c78
Update devcontainer image: v1.0.0-alpha.12 (#2437)
tarrencev Sep 17, 2024
0da6f0c
Bump `serde_json` to `1.0.128` (#2445)
kariy Sep 18, 2024
7c5a1f5
chore(torii-core): WAL journal mode & remove max conns (#2439)
Larkooo Sep 19, 2024
5777c00
opt(torii-grpc): parallelize queries (#2443)
Larkooo Sep 19, 2024
82a23a5
feat(torii-core): bitflags for indexing (#2450)
Larkooo Sep 19, 2024
8b7d6b2
ci(workflows) add GitHub Actions workflow for preview builds (#2446)
steebchen Sep 20, 2024
7ff6593
Bump `starknet` to `0.12.0` (#2454)
kariy Sep 20, 2024
daf0b65
refactor-opt(torii-grpc): subscriptions no db fetch (#2455)
Larkooo Sep 20, 2024
0d08411
feat(Dockerfile): add Tini init system for better process management …
steebchen Sep 22, 2024
892cd03
fix: avoid model classhash conflicts when some models have a same nam…
remybar Sep 22, 2024
86dbd44
fix: remove dojo plugin dep (#2461)
glihm Sep 22, 2024
bb149b7
Improve Katana runner macro (#2464)
kariy Sep 22, 2024
60c1575
chore: use the new Katana runner proc macro (#2465)
kariy Sep 23, 2024
b598b07
Walnut: Enable multi-class verification via single API request (#2456)
barabanovro Sep 23, 2024
dd8b160
refactor(katana-primitives): replace `HashMap` with `BTreeMap` in sta…
kariy Sep 24, 2024
78250fa
fix(torii): improve log messages (#2463)
lambda-0x Sep 24, 2024
87ad4ab
fix(dojo-lang): add a default namespace to ensure language server sup…
glihm Sep 24, 2024
8f4bcbb
refactor(torii-core): enqueue models & events (#2471)
Larkooo Sep 24, 2024
731ff47
fix(dojo-core): ensure contract deployment verifies if the selector i…
glihm Sep 25, 2024
8453b63
chore(katana): `address!` macro for creating `ContractAddress` instan…
kariy Sep 25, 2024
c11da6c
Katana: Add state update DA encodings (#2474)
kariy Sep 25, 2024
6eb2b6d
fix(torii): use correct query_type (#2476)
lambda-0x Sep 25, 2024
1e8ad6f
fix: ensure `log` crate output is shown with `tracing` (#2477)
glihm Sep 25, 2024
ae41d8c
Bump `blockifier` to fix `DeployAccount` tx not respecting disable fe…
kariy Sep 25, 2024
9f95a68
Prepare release: v1.0.0-alpha.13 (#2479)
tarrencev Sep 25, 2024
881e1aa
Update devcontainer image: v1.0.0-alpha.13 (#2480)
tarrencev Sep 26, 2024
ee06e56
fix: use name for contract interface to be consistent (#2482)
glihm Sep 27, 2024
25092b8
feat(katana-rpc): add `traceTransaction` and `traceBlockTransactions`…
kariy Sep 30, 2024
afb86a9
chore: implement `From<BigUint>` for address type (#2488)
kariy Sep 30, 2024
5eb722a
chore: replace `reth-metrics-derive` with the new standalone version …
kariy Sep 30, 2024
edc8840
chore: remove unused deps (#2489)
kariy Oct 1, 2024
1e33eda
Bump `slot` ( `account_sdk` ) (#2493)
kariy Oct 2, 2024
c291c7a
opt(torii-core): move off queryqueue for executing tx (#2460)
Larkooo Oct 3, 2024
6bafcb5
Prepare release: v1.0.0-alpha.14 (#2496)
tarrencev Oct 4, 2024
dc08191
Update devcontainer image: v1.0.0-alpha.14 (#2497)
tarrencev Oct 7, 2024
1dad9ce
Bump `slot` to avoid ambiguous rev for `account_sdk` (#2503)
kariy Oct 7, 2024
9c790a9
refactor(katana): stage sync pipeline (#2502)
kariy Oct 8, 2024
3e51d5d
refactor(katana-node): distinguish between launched node handle (#2504)
kariy Oct 8, 2024
18bddac
chore(katana): de-featurize base messaging (#2506)
kariy Oct 8, 2024
771639c
feat: add tps metric to contracts table (#2468)
Larkooo Oct 8, 2024
d039c6d
feat(torii-core): optimistically broadcast entity update (#2466)
Larkooo Oct 8, 2024
e591364
feat(torii): index whitelisted erc20/erc721 (#2494)
lambda-0x Oct 9, 2024
3f82a31
Remove call to `cartridge_deployController` for Controller deployment…
kariy Oct 9, 2024
3776bd5
refactor(katana): improve node configurations (#2508)
kariy Oct 9, 2024
5ab6cde
katana: include `starknet` api as default (#2510)
kariy Oct 9, 2024
975f3e4
feat(torii): limit number of blocks processed in one go
lambda-0x Oct 8, 2024
42b1568
refactor: subscription updates ordered (#2507)
Larkooo Oct 9, 2024
4fb8f3f
Persistent mode for saya using mock of SNOS (#2253)
matzayonc Oct 9, 2024
f56c4f9
Prepare release: v1.0.0-alpha.15 (#2511)
tarrencev Oct 9, 2024
7cd7d08
Update devcontainer image: v1.0.0-alpha.15 (#2513)
tarrencev Oct 10, 2024
58a2a34
refactor(katana): move the rpc address log (#2518)
kariy Oct 10, 2024
9a1e300
refactor(katana-tasks): separate tasks spawning responsibility from `…
kariy Oct 10, 2024
fd1e0f9
rm useless `#[allow(deprecated)]` (#2519)
tcoratger Oct 11, 2024
61f318d
feat: update default ERC20 class to support snake_case entrypoints (#…
enitrat Oct 11, 2024
9b47e7c
Convert `katana/contracts` into a Scarb workspace (#2523)
kariy Oct 12, 2024
6311c8e
test(katana-rpc): don't use binary runner in katana tests (#2525)
kariy Oct 12, 2024
77042b1
chore(katana-pool): move to different module (#2528)
kariy Oct 13, 2024
67a1747
refactor(torii/graphql): use camelCase in graphql to be more consistent
lambda-0x Oct 10, 2024
ac0fa99
chore: clean up unused deps (#2532)
kariy Oct 13, 2024
73a82b3
chore(sozo): update `slot` due to credentials format change (#2530)
kariy Oct 13, 2024
04e1dc4
feat(torii): add transaction hash to erc_transfers table
lambda-0x Oct 11, 2024
7035d54
torii!: change type of `id` in erc_transfers
lambda-0x Oct 12, 2024
86b3a85
fix(Dockerfile): use tini from package manager (#2533)
steebchen Oct 14, 2024
3b3a78c
Prepare release: v1.0.0-alpha.16 (#2534)
tarrencev Oct 14, 2024
ac487cd
Update devcontainer image: v1.0.0-alpha.16 (#2535)
tarrencev Oct 14, 2024
bc5d2f6
katana: update default predeployed accounts (#2524)
kariy Oct 14, 2024
547ad8b
docs(katana): docker compose example for setting up monitoring servic…
kariy Oct 15, 2024
cddb99e
refactor(katana): remove fee tokens & udc declaration from genesis (#…
kariy Oct 15, 2024
542df4f
feat(katana): add STRK fee token (#2536)
kariy Oct 15, 2024
c00075e
refactor(katana): include protocol version in chainspec (#2543)
kariy Oct 16, 2024
9fdd351
refactor(katana): move forked blockchain creation logic to core (#2545)
kariy Oct 16, 2024
f9a559f
feat(katana): add l1 data price info in header (#2547)
kariy Oct 16, 2024
fbef8a8
fix(katana): estimate message insufficient fee error (#2549)
kariy Oct 16, 2024
70ecca7
fix(katana): include msg sender in the tx calldata (#2550)
kariy Oct 16, 2024
43e2aec
add missing contract tag in logs (#2551)
notV4l Oct 17, 2024
bdb8fb5
chore: rm unused files (#2553)
kariy Oct 17, 2024
3508fb9
feat(katana-runner): allow configuring chain id (#2554)
kariy Oct 18, 2024
1d67c67
refactor(torii): different tasks for torii services (#2552)
Larkooo Oct 18, 2024
90a6580
refactor(torii-grpc): gzip compression & query opt (#2542)
Larkooo Oct 18, 2024
f037f84
feat: update bindgen for dojo.js sdk (#2501)
MartianGreed Oct 18, 2024
76fb0b7
Prepare release: v1.0.0-alpha.17 (#2556)
tarrencev Oct 18, 2024
e6bab2d
refactor(katana): rename starknet config to execution config (#2557)
kariy Oct 19, 2024
1d428ba
Update devcontainer image: v1.0.0-alpha.17 (#2559)
tarrencev Oct 19, 2024
a20b53c
feat(katana): commitment fields in block header (#2560)
kariy Oct 19, 2024
fac93b0
refactor(metrics): separate metrics recorder impl from the server (#2…
kariy Oct 19, 2024
97b679b
feat(katana-pool): invalidate declare tx if the class already exists …
kariy Oct 21, 2024
467888b
feat: bump sqlx to 0.8.2 (#2565)
edisontim Oct 21, 2024
33fd66c
refactor(torii-grpc): event subscription with multiple clauses (#2555)
Larkooo Oct 22, 2024
db767df
fix(torii-grpc): subscribe indexer (#2563)
Larkooo Oct 22, 2024
c2bbef9
refactor(katana): remove events trace log (#2570)
kariy Oct 22, 2024
4ad6d2c
feat(katana-db): ephemeral database environment (#2567)
kariy Oct 22, 2024
afa8163
refactor(katana): remove `InMemoryProvider` (#2569)
kariy Oct 22, 2024
4930450
feat(katana): implement `Arbitrary` trait for all db types (#2568)
kariy Oct 22, 2024
15114c5
hotfix(katana): include missing udc class if custom genesis is specif…
kariy Oct 24, 2024
615e9fd
Prepare release: v1.0.0-alpha.18 (#2576)
tarrencev Oct 24, 2024
17f2564
fix(katana-rpc): event idx not respecting cursor's block idx (#2578)
kariy Oct 24, 2024
d081602
refactor(katana): rename simulation flags for consistency (#2581)
kariy Oct 25, 2024
e54c4c2
hotfix(katana): missing erc20 class on custom genesis (#2582)
kariy Oct 26, 2024
51b0297
fix(torii-grpc): sql query for typed enums in nested arrays (#2579)
Larkooo Oct 26, 2024
ef696ea
Prepare release: v1.0.0-alpha.19 (#2583)
tarrencev Oct 26, 2024
7addea8
feat(katana): build version (#2590)
kariy Oct 28, 2024
1914a4a
fix(torii-grpc): building sql query for array idx (#2593)
Larkooo Oct 29, 2024
6f845a7
feat(katana): fetch forked block data (#2592)
kariy Oct 29, 2024
8a9dc0c
fix: bindgen nested types init generation (#2580)
MartianGreed Oct 29, 2024
e2d96b4
feat(katana): forked events (#2594)
kariy Oct 30, 2024
f4199ae
dojo `1.0.0-rc.0` (#2595)
glihm Oct 30, 2024
126292e
fix release (#2598)
ponderingdemocritus Oct 31, 2024
861d0b6
Update devcontainer image: v1.0.0-rc.0 (#2584)
tarrencev Oct 31, 2024
aa039c0
fix(bench): fix sozo bench (#2601)
glihm Oct 31, 2024
a49b532
fix: remove output_sozo.txt from .git
glihm Oct 31, 2024
66b76e6
feat(libp2p): multi signature schemes & session signing (#2599)
Larkooo Oct 31, 2024
712422f
ci(docker): streamline file permissions handling (#2604)
steebchen Nov 1, 2024
218cac9
feat(katana): state trie (#2607)
kariy Nov 1, 2024
e553774
fix: contracts function name clashing (#2603)
MartianGreed Nov 1, 2024
b93f761
fix(sozo): fix profile detection and UI rework (#2606)
glihm Nov 1, 2024
0f3f796
ci(release): switch to performance profile for cargo build (#2608)
steebchen Nov 1, 2024
af63e5f
feat(katana): compute block commitments (#2609)
kariy Nov 1, 2024
05fb95b
refactor: use now as timestamp for delta calc for pending blocks (#2586)
Larkooo Nov 1, 2024
9f3f501
fix: ensure we init rpc client with timeout (#2602)
glihm Nov 1, 2024
301706a
tests: add tests for migration (#2614)
glihm Nov 2, 2024
6deb0ec
Prepare release: v1.0.0-rc.1 (#2615)
tarrencev Nov 2, 2024
739518c
ci: bump to 8 core Linux release
glihm Nov 2, 2024
e48a690
ci: use performance directory instead of release
glihm Nov 2, 2024
c789997
ci: get back to release profile for now
glihm Nov 2, 2024
655647e
Update devcontainer image: v1.0.0-rc.1 (#2616)
tarrencev Nov 3, 2024
2c97d56
fix(lang): change the upgrade contract salt to allow multicall (#2617)
glihm Nov 3, 2024
32af19e
feat(sozo): add model command back (#2618)
glihm Nov 3, 2024
131cd89
feat(sozo): add events command back and event better (#2619)
glihm Nov 4, 2024
82d3a85
feat: Allow complex calldata when initializing contracts (#2625)
edisontim Nov 4, 2024
d09cbcf
feat(katana): exit on block production error (#2629)
kariy Nov 4, 2024
92cfad0
feat: separate the resource registration and permission phase for tes…
glihm Nov 5, 2024
cf1d99f
feat: batch entities (#2633)
glihm Nov 5, 2024
447ba4f
refactor: update & fix unity bindgen (#2631)
Larkooo Nov 5, 2024
14211a9
fix: u256 and ns for unity bindgen (#2635)
Larkooo Nov 5, 2024
f3276c3
fix(torii): i64 deser (#2636)
Larkooo Nov 5, 2024
8b2d976
feat: check models and events upgradability (#2626)
remybar Nov 5, 2024
24964ce
Re added members and converted ModelPtr to a struct (#2634)
bengineer42 Nov 5, 2024
7bf9be3
feat(katana): retain transactions in pool until mined (#2630)
kariy Nov 5, 2024
ba96d0e
feat: add systems to manifest (#2642)
glihm Nov 6, 2024
884a726
feat(katana): gas oracle skeleton (#2643)
kariy Nov 6, 2024
a4adeb3
chore(katana): remove unused codes (#2647)
kariy Nov 6, 2024
86365fd
fix: use sozo manifest when possible to avoid recomputing diff (#2649)
glihm Nov 7, 2024
c364d13
fix: function mappings + object naming (#2651)
MartianGreed Nov 7, 2024
dddac32
fix: simplify ui for better readability of sozo output (#2656)
glihm Nov 7, 2024
ed8f546
feat(katana): include more data in logs on tx flow status (#2657)
kariy Nov 7, 2024
2050ec4
fix: time difference calculations for new_tps (#2655)
edisontim Nov 7, 2024
3db62fa
feat: add fee token to `TransactionOption` and `TxnConfig` (#2650)
glihm Nov 7, 2024
bb87958
refactor(katana): decrease default fixed gas prices values (#2658)
kariy Nov 8, 2024
ed12756
feat(sozo): add sozo auth back (#2659)
glihm Nov 8, 2024
3a701fb
Updated functions to clear up naming with serialized
bengineer42 Nov 8, 2024
5b155b1
Removed some redundecies in the code
bengineer42 Nov 8, 2024
477c24b
Merge branch 'main' into rename_serialized_keys_values/0
bengineer42 Nov 8, 2024
3037aed
Merge branch 'rename_serialized_keys_values/0' into remove-redundecies
bengineer42 Nov 8, 2024
4b7cb35
Removed some redundecies in the code
bengineer42 Nov 8, 2024
5877a35
updated benchmarks
bengineer42 Nov 8, 2024
e6bc73a
Merge pull request #2 from bengineer42/remove-redundecies
bengineer42 Nov 8, 2024
f9def8c
chore: bump scarb
glihm Nov 8, 2024
af95590
fix: rebuild test database
glihm Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
259 changes: 0 additions & 259 deletions .all-contributorsrc

This file was deleted.

2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
generate-test-db = "run --manifest-path ./xtask/generate-test-db/Cargo.toml --"
10 changes: 6 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ ENV LLVM_SYS_170_PREFIX=/usr/lib/llvm-17
ENV TABLEGEN_170_PREFIX=/usr/lib/llvm-17

# To allow independent workflow of the container, the rust-toolchain is explicitely given.
RUN echo "1.79.0" > rust_toolchain_version
RUN echo "1.80.0" > rust_toolchain_version
# Make sure to sync the nightly version with the scripts in ./scripts
RUN echo "nightly-2024-08-28" > nightly_rust_toolchain_version

# Install cargo-binstall
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
Expand All @@ -36,8 +38,8 @@ RUN rustup toolchain install $(cat rust_toolchain_version) && \
rustup component add clippy && \
rustup component add rustfmt

RUN rustup toolchain install nightly && \
rustup component add rustfmt --toolchain nightly
RUN rustup toolchain install $(cat nightly_rust_toolchain_version) && \
rustup component add rustfmt clippy --toolchain $(cat nightly_rust_toolchain_version)

RUN rustup target add x86_64-pc-windows-msvc && \
rustup target add wasm32-unknown-unknown
Expand All @@ -60,7 +62,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then \
rm -r hurl-4.1.0-x86_64-unknown-linux-gnu && \
rm hurl.tar.gz && \
rustup component add llvm-tools-preview --toolchain $(cat rust_toolchain_version)-x86_64-unknown-linux-gnu && \
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly; \
rustup target add x86_64-fortanix-unknown-sgx --toolchain $(cat nightly_rust_toolchain_version); \
fi

ARG DOJO_VERSION=stable
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/rust
{
"name": "Rust",
"image": "ghcr.io/dojoengine/dojo-dev:v1.0.0-alpha.3",
"image": "ghcr.io/dojoengine/dojo-dev:v1.0.0-rc.1",
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
Expand Down
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
target/
.git/
.github/
.idea/
.vscode/
.devcontainer/
.cargo/
artifacts/
45 changes: 45 additions & 0 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
FROM rust:slim as chef

# Install libclang and other necessary tools
RUN apt-get update && \
apt-get install -y clang llvm-dev libclang-dev git libtool automake autoconf make curl protobuf-compiler && \
rm -rf /var/lib/apt/lists/*

# Verify and set LIBCLANG_PATH environment variable
RUN find /usr -name "libclang.so*" && \
export LIBCLANG_PATH=$(find /usr -name "libclang.so*" | head -n 1 | xargs dirname)

COPY rust-toolchain.toml .
RUN rustup install $(cat rust-toolchain.toml | grep channel | cut -d' ' -f3 | tr -d '"')
RUN rustup component add cargo clippy rust-docs rust-std rustc rustfmt

RUN cargo install cargo-chef

FROM chef AS planner

WORKDIR /app
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS builder

WORKDIR /app
COPY --from=planner /app/recipe.json recipe.json
# Build dependencies - this is the caching Docker layer!
RUN cargo chef cook --release --recipe-path recipe.json
RUN cargo build --release --bins # pre-cache some stuff

# Build application
COPY . .
ENV PATH="/root/.cargo/bin:${PATH}"

RUN cargo build --release --bins

FROM rust:1-alpine

WORKDIR /

COPY --from=builder /app/target/release/katana /app/artifacts/
COPY --from=builder /app/target/release/torii /app/artifacts/
COPY --from=builder /app/target/release/sozo /app/artifacts/
COPY --from=builder /app/target/release/saya /app/artifacts/
24 changes: 23 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
bench-katana:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:v1.0.0-alpha.3
image: ghcr.io/dojoengine/dojo-dev:v1.0.0-rc.1
steps:
- uses: actions/checkout@v3
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand All @@ -32,3 +32,25 @@ jobs:
alert-threshold: "130%"
comment-on-alert: true
alert-comment-cc-users: "@kariy,@glihm,@tarrencev"

bench-sozo:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:v1.0.0-rc.1
steps:
- uses: actions/checkout@v3
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Running Sozo benchmarks
run: cargo bench --bench spawn-and-move-build -- --output-format bencher | sed 1d | tail -n 1 | tee output_sozo.txt
- uses: benchmark-action/github-action-benchmark@v1
with:
tool: "cargo"
output-file-path: output_sozo.txt
benchmark-data-dir-path: "."
# Access token to deploy GitHub Pages branch
github-token: ${{ secrets.GITHUB_TOKEN }}
# Push and deploy GitHub pages branch automatically
auto-push: true
alert-threshold: "130%"
comment-on-alert: true
alert-comment-cc-users: "@kariy,@glihm,@tarrencev"
Loading
Loading