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

Update #13

Open
wants to merge 233 commits into
base: mainnet
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
41df25d
Sui v1.30.0 snapshot (#18809)
pei-mysten Jul 26, 2024
e8b092e
Sui Version Bump v1.31 (#18810)
pei-mysten Jul 26, 2024
07446ba
chore: update hyper et al
bmwill Jul 24, 2024
5b8b050
Corrected filter for `validator_tx_finalizer_e2e_tests` (#18811)
aschran Jul 26, 2024
a45f461
[sdk] mark shared inputs passed to makeMoveVec, mergeCoins, and split…
hayes-mysten Jul 26, 2024
c1a75c9
chore: fix some comments (#18803)
shangchenglumetro Jul 26, 2024
e3de950
Version Packages (#18814)
sui-merge-bot[bot] Jul 26, 2024
83b9cd6
suiop: fix test to use axum v0.7
bmwill Jul 26, 2024
82c3ec2
cargo-deny: update deny.toml to clear out warnings
bmwill Jul 26, 2024
eca7e45
[bridge] add BridgeMonitor and handle url change event (#18790)
longbowlu Jul 26, 2024
3dd9ddd
[Move/Examples] Switch to datatest (#18813)
amnn Jul 26, 2024
93caf44
[bridge] let monitor handle blocklist event (#18792)
longbowlu Jul 26, 2024
50a0d38
[bridge] let monitor handle emergecny op (#18791)
longbowlu Jul 26, 2024
344117c
log the file that we fail to fetch (#18822)
johnjmartin Jul 26, 2024
2f48f32
[Consensus] bind to localhost if requested (#18823)
mwtian Jul 26, 2024
db844c3
[docker/tidb-indexer] (#18824)
suiwombat Jul 26, 2024
2501733
move: dump-bytecode-as-base64 uses Move.lock addresses (#18794)
rvantonder Jul 27, 2024
eb55624
[move] Copy Sui's Move stdlib into external-crates. Bump the default …
tnowacki Jul 28, 2024
9edb722
fix: handle nondeterminism in test (#18841)
joyqvq Jul 29, 2024
0512a87
[move] fixed find_index (#18842)
tnowacki Jul 29, 2024
982024a
Fix edge-case in assert which can be triggered from jsonrpc (#18843)
mystenmark Jul 29, 2024
14f02fb
[move] Mark sui::math as deprecated (#18849)
tnowacki Jul 29, 2024
90809ef
update wallet connect logo (#18821)
plam-ml Jul 29, 2024
17454e6
chore: fix some comments (#17992)
VitalikButerinEth Jul 30, 2024
5056e4f
docs: update outdated mention on Move.toml (#18837)
rvantonder Jul 30, 2024
33c65ab
[gql][indexer] index chain identifier into its own table (#18825)
emmazzz Jul 30, 2024
75a729d
Remove wait timeout from LazyMysticetiClient (#18853)
mwtian Jul 30, 2024
0e3903d
simtest: fix config-patch
bmwill Jul 30, 2024
129f420
revert ci test log output back to default (#18859)
aschran Jul 30, 2024
6140ef8
[bridge] do not submit tx to sui if paused (#18828)
longbowlu Jul 30, 2024
8d68ee6
allow custom validator num in bridge tests (#18835)
longbowlu Jul 30, 2024
447707c
update promo setup (#18858)
plam-ml Jul 30, 2024
b3f67df
[bridge] move add new coin's handling to monitor (#18831)
longbowlu Jul 30, 2024
de9d14f
introduce MeteredEthHttpProvider that meters rpc usage (#18833)
longbowlu Jul 30, 2024
3053ad9
[main][GraphQL] Fix pruning compatibility issues (#18862)
amnn Jul 30, 2024
4419234
Deepbook SDK (#18610)
leecchh Jul 30, 2024
82a0a27
Soft bundle basic observability (#18807)
shio-coder Jul 30, 2024
b7b2a76
[docs] update snapshot docs based off operator feedback (#18855)
johnjmartin Jul 30, 2024
0148d85
[move-ide] Added smart auto-completion for colon-colon (#18778)
awelc Jul 31, 2024
c1b1e1e
Version Packages (#18865)
sui-merge-bot[bot] Jul 31, 2024
e8ca7ad
rest: implement client with support for all existing endpoints
bmwill Jul 29, 2024
be249a0
[bridge indexer] - indexer refactoring (#18761)
patrickkuo Jul 31, 2024
c9a6d67
jsonrpc: use ExecuteTransactionRequestV3 when executing a transaction
bmwill Jul 31, 2024
0851b31
[sdk] deprecate requestType option in SDK (#18854)
hayes-mysten Jul 31, 2024
801989d
[Linter] Missing key (#16616)
tx-tomcat Jul 31, 2024
5a0febd
[Linter] Warn against freezing a type T with a capability-like name (…
tx-tomcat Jul 31, 2024
32347c2
[rocksdb] increase write stopping threshold for L0 files (#18872)
mwtian Aug 1, 2024
b5ca0eb
[Consensus] refactored data remover for store pruning (#18839)
akichidis Aug 1, 2024
1df30b2
feat: enable ambrus aws cognito as zklogin provider (#18867)
devan-ko Aug 1, 2024
e1540fd
add blank and rel (#18881)
plam-ml Aug 1, 2024
b4f6f3c
[Rust SDK] Handle unwrap in wallet context (#18882)
stefan-mysten Aug 1, 2024
44150d4
[wallet-ext]: fix: hidden assets button (#18884)
mamos-mysten Aug 1, 2024
d3c7e0e
narwhal: manually build grpc interface
bmwill Aug 1, 2024
2a25217
rocksdb: access rocksdb through typed-store
bmwill Aug 1, 2024
83863f2
rocksdb: reintroduce workspace-hack scoped to typed-store
bmwill Aug 1, 2024
8599d66
[data ingestion] update internal state of progress store wrapper (#18…
phoenix-o Aug 1, 2024
af9a357
[docs] DeepBook SDK (#18815)
ronny-mysten Aug 1, 2024
05fb3ac
SDK Updates (#18871)
leecchh Aug 1, 2024
8c45318
Add long-epoch, rolling restart simtest (#18875)
aschran Aug 1, 2024
7efc10b
Fix e2e test hanging on local runs (#18887)
wlmyng Aug 1, 2024
9702dfb
[move-ide] Added support for name chain completions in attributes (#1…
awelc Aug 1, 2024
0d76540
[suiop] add aliases for image building (#18819)
after-ephemera Aug 2, 2024
aae147c
Enable random beacon on mainnet (#18888)
aschran Aug 2, 2024
d9dc6ca
[Consensus] update a few parameters (#18891)
mwtian Aug 2, 2024
429e126
[chorse] Update `time` crate to a newer version to avoid compilation …
stefan-mysten Aug 6, 2024
ce14502
[move][move-2024] Fix a small bug in how match was handled in parsing…
cgswords Aug 6, 2024
aa54e5a
[suiop] add to internal binaries release list (#18910)
pei-mysten Aug 6, 2024
f37b3c2
[ts sdk] Add PerEpochConfig and Cancelled to UnchangedSharedKind (#18…
hayes-mysten Aug 6, 2024
e34d2b9
Version Packages (#18874)
sui-merge-bot[bot] Aug 6, 2024
1915892
Turn on shared object congestion control in mainnet (#18902)
halfprice Aug 7, 2024
2261032
Improve tx finalizer simtests (#18903)
lxfind Aug 7, 2024
4c36d71
Enable tx finalizer on mainnet (#18906)
lxfind Aug 7, 2024
98603ad
Revert #18910 (#18913)
ebmifa Aug 7, 2024
1ce3dda
[move] Fixes for enums in Move model + add support in docgen (#18907)
tzakian Aug 7, 2024
e8e6b49
Fix suiop version and include in builds (#18914)
ebmifa Aug 7, 2024
6bc8aee
Eth Sync rework (#18604)
Bridgerz Aug 7, 2024
af1588f
[data ingestion] decrease default queue length for remote reader (#18…
phoenix-o Aug 7, 2024
b1ebfff
serde_json: don't use the arbitrary_precision feature
bmwill Aug 7, 2024
5cb3a2e
[chore] disable flaky test (#18919)
akichidis Aug 7, 2024
e4c9076
[data ingestion] ensure current checkpoint watermark is greater or eq…
phoenix-o Aug 7, 2024
58fd1d1
[move-compler] Added parser resilience for use declarations (#18879)
awelc Aug 8, 2024
6f4864b
Enable soft bundle on mainnet (#18876)
shio-coder Aug 8, 2024
ba9495f
[snapshots] Add metric for number of local db checkpoints (#18926)
williampsmith Aug 8, 2024
3e6540f
[data ingestion] for lagging secondary only update local progress sta…
phoenix-o Aug 8, 2024
3f4cab6
[move-ide] Added support for use-s auto-completion (#18924)
awelc Aug 8, 2024
0de46e0
Sui v1.31.0 Bytecode Snapshot (#18933)
ebmifa Aug 9, 2024
1ce8f6b
Replace forge install with soldeer (#18930)
Bridgerz Aug 9, 2024
8e03286
sui v1.32.0 version bump (#18934)
ebmifa Aug 9, 2024
659b02b
[move-ide] Version number consistent with marketplace (#18937)
awelc Aug 9, 2024
c79f53f
[move] Bugfix in Move model for enums (#18938)
tzakian Aug 9, 2024
3b034c7
feat: enable karrier one for testnet/mainnet (#18898)
joyqvq Aug 12, 2024
6f79ed9
[zkLogin] Check that bigints fit into the field for extra safety (#16…
mskd12 Aug 12, 2024
23e38a2
[data ingestion daemon] dynamodb progress store: make updates conditi…
phoenix-o Aug 12, 2024
42def2d
[Docs] Sui Addresses are usually hex-encoded
amnn Aug 12, 2024
41361b6
Deepbook SDK Update (#18954)
leecchh Aug 12, 2024
212f3de
[indexer] merge in indexer breaking change park (#18899)
emmazzz Aug 12, 2024
fc21386
Version Packages (#18950)
sui-merge-bot[bot] Aug 12, 2024
f8176eb
chore: [Examples] Remove sui_programmability (#18965)
amnn Aug 12, 2024
88d4fd4
Fix isValidating state from showing invalid address (#18963)
Jibz-Mysten Aug 12, 2024
f8fa785
fix: [GraphQL/Owner] rootVersion: UInt53 (#18966)
amnn Aug 12, 2024
7d103a9
[docs][site] Landing page links (#18967)
ronny-mysten Aug 12, 2024
5ed526a
[docs] Local ingestion custom indexer docs update and example (#18957)
zihehuang Aug 12, 2024
7d30e94
Fix cmdk not rendering account list (#18968)
hayes-mysten Aug 13, 2024
77071e2
[multisig toolkit] fix mouse events in account selector (#18969)
hayes-mysten Aug 13, 2024
f644d71
[denylist] Fix sign check early return (#18951)
lxfind Aug 13, 2024
1913ce6
[Consensus] avoid subtracting from current Instant (#18939)
mwtian Aug 13, 2024
c90056e
[bridge-indexer] - simplify bridge generic (#18908)
patrickkuo Aug 13, 2024
7f05c70
Fix fullnode event resolution (#18958)
lxfind Aug 13, 2024
bb3fc0b
[docs] change custom indexer example Cargo.toml capitalization (#18970)
zihehuang Aug 13, 2024
fe922b7
Revert "[indexer] merge in indexer breaking change park" (#18975)
ebmifa Aug 13, 2024
a3e32fe
[ts sdk] replace WaitForLocalExecution with waitForTransaction (#18929)
hayes-mysten Aug 13, 2024
c5766bc
Version Packages (#18976)
sui-merge-bot[bot] Aug 13, 2024
9c4652f
[move] Add further support for enums in Move model (#18980)
tzakian Aug 14, 2024
542edc8
[TrafficControl] Handle invalid client sig on rpc node (#18979)
williampsmith Aug 14, 2024
84908a3
[indexer] Simplify IndexedObject (#18981)
lxfind Aug 14, 2024
918d82a
[Consensus] stop commit sync when consensus handler cannot keep up (#…
mwtian Aug 14, 2024
64a5adb
[move][move-2024] Fix match compilation field ordering (#18947)
cgswords Aug 14, 2024
c743bd9
Fix chocolatey binary path (#18992)
ebmifa Aug 14, 2024
5531298
Update import path for @mysten/sui/transactions (#18985)
teohaik Aug 14, 2024
b490bb1
Update useSignAndExecuteTransaction.mdx (#18984)
teohaik Aug 14, 2024
c4343a2
[Linter] Unnecessary while loop (#16876)
tx-tomcat Aug 14, 2024
474cc58
[Linter] Public mut tx context (#16878)
tx-tomcat Aug 14, 2024
220f2ce
chore: [Source Validation] Split out error types (#18956)
amnn Aug 4, 2024
adfa70f
chore(verify-source): Split out toolchain logic (#18959)
amnn Aug 14, 2024
b4459e7
fix(verify-source): Detect published-at = 0x0 (#18978)
amnn Aug 14, 2024
968247a
fix(TransactionBuilder): Publish use storage IDs (#18960)
amnn Aug 14, 2024
3160fe1
fix(test): publish depending on upgrade (#18962)
amnn Aug 14, 2024
588ea8f
feat: [Source Validation] Check linkage (#18964)
amnn Aug 14, 2024
ecbf4b1
chore: update quinn-proto
bmwill Aug 14, 2024
e205aca
authority_aggregator: sample 5 validators for objects contents
bmwill Aug 13, 2024
65843fd
Set `SIMTEST_STATIC_INIT_MOVE` variable for Code Coverage (#18998)
ebmifa Aug 15, 2024
b4d4944
[move-ide] Fixed a bug preventing pkg build from VSCode (#19003)
awelc Aug 15, 2024
b2108ef
Exclude sui-bridge tests for code coverage (#19002)
ebmifa Aug 15, 2024
2ac7720
indexer fix: reset db via reverting migrations (#18993)
gegaowp Aug 15, 2024
8a6959c
[bridge indexer] - bridge indexer unit test (#18973)
patrickkuo Aug 15, 2024
fea5821
indexer minor: more efficient total tx query (#19004)
gegaowp Aug 15, 2024
1c88f3f
Fail if publish to chocolatey fails (#19006)
ebmifa Aug 15, 2024
6677451
indexer 2024-08: merge idx-breaking-change-park to main (#19005)
gegaowp Aug 15, 2024
9a09b49
Update chocolatey sui content (#19008)
ebmifa Aug 15, 2024
396ecf1
feat(rust-sdk): Simulate WaitForLocalExecution (#18996)
amnn Aug 16, 2024
c51f186
Deepbook SDK Constants Update (#19007)
leecchh Aug 16, 2024
3316ca4
[docs] Limit information for object model (#19010)
ronny-mysten Aug 16, 2024
36f1c6f
Export Update (Deepbook SDK) (#19016)
leecchh Aug 16, 2024
8574a5b
indexer: DB reset to handle incomplete migration history (#19019)
gegaowp Aug 16, 2024
75c5e10
Version Packages (#19015)
sui-merge-bot[bot] Aug 16, 2024
f8f19a3
[move-ide] Refactored parsing symbolicator into parsing analysis (#18…
awelc Aug 17, 2024
98c8291
[light-client] Add standalone verification function (#18971)
gdanezis Aug 19, 2024
8a8c6b1
[light client] Fix light client doc spelling (#19030)
gdanezis Aug 19, 2024
226cbc3
[docs] More precise kiosk language (#18997)
ronny-mysten Aug 19, 2024
f82f095
[move] Enable enums in mainnet (#19031)
tzakian Aug 19, 2024
d70e8ff
Upgrade Deepbook SDK Constant (#19027)
leecchh Aug 19, 2024
34628d3
Version Packages (#19033)
sui-merge-bot[bot] Aug 19, 2024
cc6540f
[sdk e2e] fix some more flaky e2e tests (#19022)
hayes-mysten Aug 19, 2024
4357ac6
Add docs on zklogin signature verification and using waitForTransacti…
hayes-mysten Aug 19, 2024
4019dd7
[sdk] Add default budget to serial transaction executor (#19013)
hayes-mysten Aug 19, 2024
143cd9d
[ts sdk] Add new tx.object methods (#18940)
hayes-mysten Aug 19, 2024
00a974d
[ts sdk] Add global registry for transaction plugins (#18928)
hayes-mysten Aug 19, 2024
746ba27
Version Packages (#19035)
sui-merge-bot[bot] Aug 19, 2024
a18f77b
revert(18170): patch for fetching latest dynamic field state for zklo…
amnn Aug 19, 2024
3799dcf
Create generate release workflow (#19037)
ebmifa Aug 19, 2024
43c1445
Measure RocksDB batch put bytes by cf (#19038)
andll Aug 19, 2024
66f6d48
[replay] Fix issue when replaying transactions taht query existence o…
tzakian Aug 19, 2024
1012219
Release Notes Generator (#19039)
ebmifa Aug 20, 2024
c26c121
[LocalExecution] Remove local execution loop from FN (#19032)
lxfind Aug 20, 2024
56a05c8
[GraphQL] Leverage `objects_version` table. (#17543)
amnn May 5, 2024
fd0fe51
[GraphQL/MovePackage] Query by ID and version (#17692)
amnn Aug 19, 2024
e22cd03
[GraphQL/MovePackage] Query for latest version (#17693)
amnn Aug 19, 2024
01bbabe
[GraphQL/MovePackage] Paginate by checkpoint (#17696)
amnn Aug 19, 2024
c90c28f
[GraphQL/MovePackage] Paginate by version (#17697)
amnn May 10, 2024
4110e6e
[chore][GraphQL] Clean-up unused commands (#18287)
amnn Aug 19, 2024
b3d3d7a
[chore][GraphQL] Declutter schemas (#18288)
amnn Aug 19, 2024
d068f8f
[GraphQL] `generate-config` sub-command (#18336)
amnn Aug 19, 2024
7802581
[sui-tool] dump-packages uses GraphQL (#18337)
amnn Aug 19, 2024
bd887c6
Add expiry time to cached SuiNS name validation (#19048)
Jibz-Mysten Aug 20, 2024
c68131b
fix(jsonrpc): Flaky fullnode JSON-RPC test (#19047)
amnn Aug 20, 2024
91f8de1
unit test (#18659)
dariorussi Aug 20, 2024
dab9bad
[Consensus] move transaction count limit to protocol config (#19042)
mwtian Aug 20, 2024
2682497
fix(graphql): Docs fixes from #17543 (#19046)
amnn Aug 20, 2024
91bf75e
chore: update rust-sdk
bmwill Aug 20, 2024
ed69f7c
Migrate users of mysten_metrics Histogram to prometheus Histogram (#1…
aschran Aug 20, 2024
2cf1eeb
feat: allow specifying OTEL service name with OTEL_SERVICE_NAME (#19044)
jpcsmith Aug 20, 2024
f589885
[enoki-sdk] Add sdk methods for managing enoki subnames (#18846)
hayes-mysten Aug 20, 2024
643b584
Version Packages (#19052)
sui-merge-bot[bot] Aug 20, 2024
d950fa6
Fix empty result set in wallet monitoring service (#18350)
sadhansood Aug 20, 2024
7a03022
cluster: remove unused ws data
bmwill Jul 31, 2024
728a4d0
keys: convert noisy message to doc comment
bmwill Jul 31, 2024
fa9f097
rest: redirect /rest -> /v2
bmwill Jul 31, 2024
824b6b6
read-store: properly return the highest executed checkpoint
bmwill Aug 1, 2024
b6199ed
rest: add Debug impl for Page and ResponseContent
bmwill Aug 1, 2024
b454eb9
rest: add 410 responses to checkpoint apis
bmwill Aug 12, 2024
d955f7e
rest: introduce a structure error type for client
bmwill Aug 17, 2024
d41d7bd
move-core: add Borrow<str> for Identifier
bmwill Aug 19, 2024
6166edc
types: add From impls for TransactionExpiration and Command
bmwill Aug 19, 2024
8c44a8e
types: move TransactionExecutor from sui-rest-api to sui-types
bmwill Aug 19, 2024
3ab3cef
types: add a digest method to TransactionData
bmwill Aug 19, 2024
a2e3e99
sui-core: remove unnecessary async from a few functions
bmwill Aug 19, 2024
15a406c
protocol-config: correct doc comment for max_tx_gas parameter
bmwill Aug 19, 2024
2d7a7aa
remove hover label (#19053)
plam-ml Aug 20, 2024
c6eb1e7
rest: cleanup
bmwill Aug 20, 2024
61dc132
indexer:add experimental warning (#18890)
gegaowp Aug 21, 2024
1dd888a
Docs fix typo (#19059)
cratiu222 Aug 21, 2024
ed221a6
SDK constant update (#19060)
leecchh Aug 21, 2024
3db05b0
Do not truncate logs when container restarts (#18955)
mystenmark Aug 21, 2024
b9d696e
Indexer builder bug fix (#19058)
patrickkuo Aug 21, 2024
b1976e6
[indexer] index protocol configs and feature flags (#18450)
emmazzz Aug 21, 2024
b2a3621
Version Packages (#19061)
sui-merge-bot[bot] Aug 21, 2024
9a24f66
[move] Small lint cleanups (#18878)
tnowacki Aug 21, 2024
3182fe6
[move] Update error behavior on serialization boundaries (#19064)
tzakian Aug 21, 2024
f746620
[GraphQL/TransactionBlock] Scan Limits (#18413)
wlmyng Aug 22, 2024
9141931
return 0 for lowest available cp on unpruned fn (#19066)
emmazzz Aug 22, 2024
ba7e085
[Consensus] enable amnesia recovery & refactor retry approach (#18771)
akichidis Aug 22, 2024
2969b59
[Consensus] panic in tests when transaction exceeds consensus size li…
mwtian Aug 22, 2024
22aa24d
[move] Rewrite verifier metering (#19036)
tnowacki Aug 22, 2024
bacc76c
Rename RocksDB metrics (#19067)
andll Aug 22, 2024
bd0dc2f
indexer fix: multiple object mutations in one checkpoint (#18991)
gegaowp Aug 22, 2024
3170d58
[move] Add large enum test (#19075)
tnowacki Aug 22, 2024
c4e4be4
[bridge] extend add coin e2e test to cover evm side, and a bug fix (#…
longbowlu Aug 22, 2024
753e463
Add ServerTiming headers to fullnode responses (#19063)
mystenmark Aug 23, 2024
e19a801
Revert "Migrate users of mysten_metrics Histogram to prometheus Histo…
mystenmark Aug 23, 2024
9726619
[suiop] fix dup alias issue (#19073)
pei-mysten Aug 23, 2024
cc20b13
Sui v1.32 snapshot (#19081)
pei-mysten Aug 23, 2024
cf75cf9
chore: update rust to 1.80.1 (#19087)
bmwill Aug 23, 2024
5855c7f
[framework] Adds Option macros to release (#19101)
damirka Aug 26, 2024
467e00c
[pick][GraphQL/Events] Disable filtering on both `event_type` and `em…
emmazzz Aug 30, 2024
62c7d64
Sui v1.32.1 Version Bump
ebmifa Aug 30, 2024
624300d
Cherrypick additional rocksdb metrics (#19172)
mwtian Aug 30, 2024
32e55c6
Sui v1.32.2 Version Bump
ebmifa Sep 3, 2024
a5eab1a
[bridge] [cheerypick to 1.32] enable bridge on mainnet (#19199)
longbowlu Sep 3, 2024
c7590b1
test macos platform
ebmifa Sep 6, 2024
b1a66b6
fix name
ebmifa Sep 6, 2024
3576d33
authority_aggregator: always request for events when asked (#19251)
bmwill Sep 6, 2024
2e1e0ef
Merge remote-tracking branch 'upstream/mainnet' into update
NorbertBodziony Sep 11, 2024
f1c01f2
temp
NorbertBodziony Sep 17, 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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .cargo/config → .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ xclippy = [
"clippy", "--all-targets", "--all-features", "--",
"-Wclippy::all",
"-Wclippy::disallowed_methods",
"-Aclippy::unnecessary_get_then_check",
]
xlint = "run --package x --bin x -- lint"
xtest = "run --package x --bin x -- external-crates-tests"
Expand All @@ -22,6 +23,9 @@ move-clippy = [
"-Aclippy::upper_case_acronyms",
"-Aclippy::type_complexity",
"-Aclippy::new_without_default",
"-Aclippy::question_mark",
"-Aclippy::unnecessary_get_then_check",
"-Aclippy::needless_borrows_for_generic_args",
]

mysql-clippy = [
Expand All @@ -38,6 +42,7 @@ mysql-clippy = [
"-Aclippy::upper_case_acronyms",
"-Aclippy::type_complexity",
"-Aclippy::new_without_default",
"-Aclippy::unnecessary_get_then_check",
]

[build]
Expand Down
28 changes: 28 additions & 0 deletions .config/hakari.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file contains settings for `cargo hakari`.
# See https://docs.rs/cargo-hakari/latest/cargo_hakari/config for a full list of options.

# Right now we're only using hakari in a sort of hybrid manually managed mode
# to enforce that rocksdb is built only a single time in the workspace
hakari-package = "typed-store-workspace-hack"

# Format version for hakari's output. Version 4 requires cargo-hakari 0.9.22 or above.
dep-format-version = "4"

# Setting workspace.resolver = "2" in the root Cargo.toml is HIGHLY recommended.
# Hakari works much better with the new feature resolver.
# For more about the new feature resolver, see:
# https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver
resolver = "2"

# Add triples corresponding to platforms commonly used by developers here.
# https://doc.rust-lang.org/rustc/platform-support.html
platforms = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
# "x86_64-pc-windows-msvc",
]

# Write out exact versions rather than a semver range. (Defaults to false.)
# exact-versions = true
output-single-feature = true
unify-target-host = "unify-if-both"
28 changes: 0 additions & 28 deletions .github/workflows/build-suiop-cli.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cargo-llvm-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
swap-size-gb: 256

- name: Run code coverage for nextest
run: RUSTFLAGS="-C debuginfo=0" SUI_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info nextest -vv
run: RUSTFLAGS="-C debuginfo=0" SUI_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info nextest -vv -E '!package(sui-bridge)'

- name: Upload report to Codecov for nextest
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin v4.0.1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,5 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- uses: mystenlabs/cargo-deny-action@main
- uses: taiki-e/install-action@cargo-deny
- run: cargo deny check
71 changes: 71 additions & 0 deletions .github/workflows/release-notes-generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Create Sui Release with Release Notes

concurrency: ${{ github.workflow }}-${{ inputs.release_tag }}

on:
workflow_dispatch:
inputs:
release_tag:
description: 'Sui Release Tag'
type: string
required: true
previous_branch:
description: 'Previous Release Branch (Ex: releases/sui-vX.XX.X-release)'
type: string
required: true
current_branch:
description: 'Current Release Branch (Ex: releases/sui-vX.XX.X-release)'
type: string
required: true

env:
RELEASE_NOTES_FILE: "./release_notes.txt"

jobs:
get-release-notes:
name: Get Release Notes for ${{ inputs.release_tag }} release
runs-on: ubuntu-latest

steps:
- name: Get commits for branches
shell: bash
working-directory: ./
run: |
echo "previous_commit=$(curl https://api.github.com/repos/MystenLabs/sui/commits/${{ inputs.previous_branch }} | jq .sha)" >> $GITHUB_ENV
echo "current_commit=$(curl https://api.github.com/repos/MystenLabs/sui/commits/${{ inputs.current_branch }} | jq .sha)" >> $GITHUB_ENV

- name: Checkout main
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
fetch-depth: 0
ref: main

- name: Setup Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # [email protected]
with:
python-version: 3.10.10

- name: Generate Release Notes
shell: bash
working-directory: ./
run: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} python ./scripts/release_notes.py generate ${{ env.previous_commit }} ${{ env.current_commit }} | tee -a ${{ env.RELEASE_NOTES_FILE }}
echo "---" >> ${{ env.RELEASE_NOTES_FILE }}
echo "#### Full Log: https://github.com/MystenLabs/sui/commits/${{ inputs.release_tag }}" >> ${{ env.RELEASE_NOTES_FILE }}

if [[ ${{ inputs.release_tag }} == devnet* ]]; then
echo "pre_release=true" >> $GITHUB_ENV
else
echo "pre_release=false" >> $GITHUB_ENV
fi

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ inputs.release_tag }}
release_name: ${{ inputs.release_tag }}
body_path: ${{ env.RELEASE_NOTES_FILE }}
draft: false
prerelease: ${{ env.pre_release }}
42 changes: 24 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Attach Sui binaries to a release
run-name: Attach Sui binaries to a ${{ inputs.sui_tag }} release

on:
release:
types: [ published ]
types: [ published, prereleased ]
workflow_dispatch:
inputs:
sui_tag:
Expand Down Expand Up @@ -43,10 +44,10 @@ jobs:
matrix:
os:
[
ubuntu-ghcloud, # ubuntu-x86_64
windows-ghcloud, # windows-x86_64
# ubuntu-ghcloud, # ubuntu-x86_64
# windows-ghcloud, # windows-x86_64
macos-latest-xl, # macos-x86_64
macos-latest-xlarge # macos-arm64
# macos-latest-xlarge # macos-arm64
]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -94,7 +95,7 @@ jobs:
continue-on-error: true
shell: bash
run: |
echo "s3_archive_exist=$(curl -Is https://sui-releases.s3.us-east-1.amazonaws.com/releases/sui-${{ env.sui_tag }}-${{ env.os_type }}.tgz | head -n 1 | grep '200 OK')" >> $GITHUB_ENV
# echo "s3_archive_exist=$(curl -Is https://sui-releases.s3.us-east-1.amazonaws.com/releases/sui-${{ env.sui_tag }}-${{ env.os_type }}.tgz | head -n 1 | grep '200 OK')" >> $GITHUB_ENV

- name: Download archive, if it exists
if: ${{ env.s3_archive_exist != '' }}
Expand All @@ -112,13 +113,6 @@ jobs:
if: ${{ matrix.os == 'windows-ghcloud' && env.s3_archive_exist == '' }}
uses: taiki-e/install-action@33022ba120c3f523d134bbbee12278fc11a3df1a # pin@nextest

- name: Setup protoc (Windows)
if: ${{ matrix.os == 'windows-ghcloud' && env.s3_archive_exist == '' }}
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # [email protected]
# this avoids rate-limiting
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install postgres (Windows)
if: ${{ matrix.os == 'windows-ghcloud' && env.s3_archive_exist == '' }}
shell: bash
Expand All @@ -130,7 +124,7 @@ jobs:
echo "PG_DATABASE_URL=postgres://postgres:root@localhost/" >> $GITHUB_ENV
echo "PG_EXAMPLE_DATABASE_URL=postgres://postgres:root@localhost/diesel_example" >> $GITHUB_ENV

- name: Install postgres (Mac arm64)
- name: Install postgres (MacOS arm64)
if: ${{ matrix.os == 'macos-latest-xlarge' && env.gcloud_archive_exist == '' }}
shell: bash
env:
Expand All @@ -141,6 +135,19 @@ jobs:
run: |
brew install postgresql

- name: Remove unused apps (MacOS platform)
if: ${{ startsWith(matrix.os, 'macos') && env.gcloud_archive_exist == '' }}
continue-on-error: true
shell: bash
run: |
# MacOS arm64 runner only has 14GB avaialble, which is too small for our builds, so removing unused softwared.
df -hI /dev/disk3s1s1
sudo rm -rf /Applications/Xcode*.app
sudo rm -rf ~/Library/Developer/Xcode/DerivedData
sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/*
sudo rm -rf ~/Library/Developer/Xcode/iOS\ DeviceSupport/*
df -hI /dev/disk3s1s1

- name: Cargo build for ${{ matrix.os }} platform
if: ${{ env.s3_archive_exist == '' }}
shell: bash
Expand Down Expand Up @@ -169,8 +176,7 @@ jobs:
[[ ${{ env.sui_tag }} == *"testnet"* ]] && aws s3 cp ./tmp/sui-${{ env.sui_tag }}-${{ env.os_type }}.tgz s3://sui-releases/releases/sui-${{ env.sui_tag }}-${{ env.os_type }}.tgz || true

- name: Publish Windows sui binary to Chocolatey
if: ${{ matrix.os == 'windows-ghcloud' && contains( env.sui_tag, 'testnet') }}
continue-on-error: true
if: ${{ matrix.os == 'windows-ghcloud' && contains(env.sui_tag, 'testnet') }}
shell: bash
run: |
choco install checksum
Expand All @@ -179,9 +185,9 @@ jobs:

cat <<EOF >>VERIFICATION.txt
Sui Binary verification steps
1. Go to https://github.com/MystenLabs/sui/releases/download/${{ env.sui_tag }}/sui-${{ env.sui_tag }}-windows-x86_64.tgz
2. Extract sui-windows-x86_64.exe
3. checksum.exe -t sha256 sui-windows-x86_64.exe: ${sui_sha}
1. Download https://github.com/MystenLabs/sui/releases/download/${{ env.sui_tag }}/sui-${{ env.sui_tag }}-windows-x86_64.tgz
2. Extract sui.exe
3. Verify binary: checksum.exe -t sha256 sui.exe: ${sui_sha}

File 'LICENSE.txt' is obtained from: https://github.com/MystenLabs/sui/blob/main/LICENSE
EOF
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ env:
RUSTUP_MAX_RETRIES: 10
# Don't emit giant backtraces in the CI logs.
RUST_BACKTRACE: short
# Some integration tests can produce too much INFO logs that are infeasible to be printed on failure.
RUST_LOG: error
# RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings

Expand Down Expand Up @@ -202,10 +200,6 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- uses: taiki-e/install-action@nextest
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # [email protected]
# this avoids rate-limiting
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install postgres (Windows)
shell: bash
Expand Down Expand Up @@ -262,7 +256,7 @@ jobs:
- uses: taiki-e/install-action@nextest
- name: Run move tests
run: |
cargo nextest run -p sui-framework-tests -- unit_tests::
cargo nextest run -p sui-framework-tests --test move_tests

# # Disabled
# rosetta-validation:
Expand Down Expand Up @@ -345,10 +339,6 @@ jobs:
if: needs.diff.outputs.isRust == 'true'
runs-on: [ ubuntu-ghcloud ]
steps:
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # [email protected]
# this avoids rate-limiting
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- run: rustup component add clippy
# TODO(bradh): debug and re-enable this; the caching is breaking the clippy build
Expand Down Expand Up @@ -385,7 +375,8 @@ jobs:
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- uses: mystenlabs/cargo-deny-action@main
- uses: taiki-e/install-action@cargo-deny
- run: cargo deny check

sui-excution-cut:
name: cutting a new execution layer
Expand Down
Loading
Loading