Skip to content

Commit

Permalink
Merge branch 'develop' into dev-tools/fix-vercel-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DaughterOfMars committed Jan 22, 2025
2 parents b94c924 + 3ac1425 commit 9b20413
Show file tree
Hide file tree
Showing 2,096 changed files with 37,345 additions and 12,120 deletions.
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"wallet-dashboard",
"apps-backend",
"@iota/core",
"@iota/apps-ui-kit",
"sponsored-transactions",
"kiosk-demo",
"kiosk-cli"
Expand Down
5 changes: 5 additions & 0 deletions .changeset/mighty-pans-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@iota/dapp-kit': minor
---

Improved the connect-modal style so its easier to read and interact in small screens
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ target/
build/
storage/
docker/
dev-tools/
setups/
106 changes: 85 additions & 21 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,90 @@
# Everything within the SDK folder
/sdk/ @iotaledger/tooling

# Changes to the genesis builder should be approved by Konstantinos or Mirko at least
/crates/iota-genesis-builder/ @kodemartin @miker83z
/consensus/ @iotaledger/consensus

# infrastructure team
/docker/ @iotaledger/infrastructure @iotaledger/node @iotaledger/devops-admin
/crates/iota-json-rpc*/ @iotaledger/infrastructure
/crates/iota-graphql*/ @iotaledger/infrastructure
/crates/iota-indexer*/ @iotaledger/infrastructure
/crates/iota-data-ingestion*/ @iotaledger/infrastructure
# Crates
/crates/bin-version/ @iotaledger/dev-tools
/crates/iota/ @iotaledger/dev-tools
/crates/iota-adapter-transactional-tests/ @iotaledger/vm-language
/crates/iota-analytics-indexer/ @iotaledger/infrastructure

# node team
/crates/iota-analytics-indexer-derive/ @iotaledger/infrastructure
/crates/iota-archival/ @iotaledger/node
/crates/iota-authority-aggregation/ @iotaledger/node @iotaledger/consensus
/crates/iota-aws-orchestrator/ @iotaledger/consensus
/crates/iota-benchmark/ @iotaledger/node
/crates/iota-cluster-test/ @iotaledger/infrastructure
/crates/iota-common/ @iotaledger/core-protocol
/crates/iota-config/ @iotaledger/node
/crates/iota-core/ @iotaledger/node @iotaledger/consensus
/crates/iota-cost/ @iotaledger/vm-language
/crates/iota-data-ingestion*/ @iotaledger/infrastructure
/crates/iota-e2e-tests/ @iotaledger/node @iotaledger/vm-language
/crates/iota-enum-compat-util/ @iotaledger/vm-language
/crates/iota-faucet/ @iotaledger/infrastructure
/crates/iota-framework/ @iotaledger/vm-language
/crates/iota-framework-snapshot/ @iotaledger/vm-language
/crates/iota-framework-tests/ @iotaledger/vm-language
/crates/iota-genesis-builder/ @iotaledger/vm-language
/crates/iota-genesis-common/ @iotaledger/vm-language
/crates/iota-graphql*/ @iotaledger/infrastructure
/crates/iota-indexer*/ @iotaledger/infrastructure
/crates/iota-json/ @iotaledger/infrastructure
/crates/iota-json-rpc*/ @iotaledger/infrastructure
/crates/iota-keys/ @iotaledger/dev-tools
/crates/iota-light-client/ @iotaledger/dev-tools
/crates/iota-macros/ @iotaledger/dev-tools
/crates/iota-metric-checker/ @iotaledger/node
/crates/iota-metrics/ @iotaledger/core-protocol
/crates/iota-move/ @iotaledger/vm-language
/crates/iota-move-build/ @iotaledger/vm-language
/crates/iota-move-lsp/ @iotaledger/vm-language
/crates/iota-network/ @iotaledger/node
/crates/iota-network-stack/ @iotaledger/node
/crates/iota-node/ @iotaledger/node
/crates/iota-types/ @iotaledger/node @iotaledger/sc-platform
/crates/iota-open-rpc/ @iotaledger/dev-tools
/crates/iota-open-rpc-macros/ @iotaledger/dev-tools
/crates/iota-package-dump/ @iotaledger/infrastructure
/crates/iota-package-management/ @iotaledger/vm-language
/crates/iota-package-resolver/ @iotaledger/vm-language
/crates/iota-proc-macros/ @iotaledger/dev-tools
/crates/iota-protocol-config/ @iotaledger/node @iotaledger/sc-platform
/crates/iota-protocol-config-macros/ @iotaledger/node @iotaledger/sc-platform
/crates/iota-proxy/ @iotaledger/node
/crates/iota-replay/ @iotaledger/node
/crates/iota-rest-api/ @iotaledger/node @iotaledger/infrastructure
/crates/iota-rpc-loadgen/ @iotaledger/infrastructure
/crates/iota-sdk/ @iotaledger/dev-tools
/crates/iota-simulator/ @iotaledger/core-protocol
/crates/iota-single-node-benchmark/ @iotaledger/node
/crates/iota-snapshot/ @iotaledger/node
/crates/iota-source-validation/ @iotaledger/vm-language
/crates/iota-storage/ @iotaledger/node

# consensus team
/consensus/ @iotaledger/consensus

# dev-tools team
/crates/iota/ @iotaledger/dev-tools
/crates/iota-open-rpc/ @iotaledger/dev-tools
/crates/iota-open-rpc-macros/ @iotaledger/dev-tools
/crates/iota-sdk/ @iotaledger/dev-tools
/crates/iota-swarm/ @iotaledger/node
/crates/iota-swarm-config/ @iotaledger/node
/crates/iota-test-transaction-builder/ @iotaledger/dev-tools
/crates/iota-tls/ @iotaledger/core-protocol
/crates/iota-tool/ @iotaledger/node
/crates/iota-transaction-builder/ @iotaledger/dev-tools
/crates/iota-transaction-checks/ @iotaledger/core-protocol
/crates/iota-transactional-test-runner/ @iotaledger/vm-language
/crates/iota-types/ @iotaledger/core-protocol @iotaledger/sc-platform
/crates/iota-upgrade-compatibility-transactional-tests/ @iotaledger/vm-language
/crates/iota-verifier-transactional-tests/ @iotaledger/vm-language
/crates/prometheus-closure-metric/ @iotaledger/node
/crates/shared-crypto/ @iotaledger/core-protocol
/crates/simulacrum/ @iotaledger/vm-language
/crates/telemetry-subscribers/ @iotaledger/core-protocol
/crates/test-cluster/ @iotaledger/infrastructure
/crates/typed-store/ @iotaledger/core-protocol
/crates/typed-store-derive/ @iotaledger/core-protocol
/crates/typed-store-error/ @iotaledger/core-protocol
/crates/typed-store-workspace-hack/ @iotaledger/core-protocol

# Docker
/docker/ @iotaledger/infrastructure @iotaledger/node @iotaledger/devops-admin
/dev-tools/ @iotaledger/infrastructure @iotaledger/node @iotaledger/devops-admin
/setups/ @iotaledger/infrastructure @iotaledger/node @iotaledger/devops-admin

# Frontend apps to be looked after by Boxfish Studio or the tooling team
/apps/ @iotaledger/tooling
Expand All @@ -57,7 +106,6 @@ prettier.config.js @iotaledger/tooling
turbo.json @iotaledger/tooling
vercel.json @iotaledger/tooling

# vm-language team
# Needs to be after package.json ownership definition to override it
/iota-execution/ @iotaledger/vm-language
/external-crates/ @iotaledger/vm-language
Expand All @@ -83,7 +131,23 @@ vercel.json @iotaledger/tooling
/scripts/generate_files/ @muXxer
/scripts/codesearch/ @muXxer
/scripts/slipstream/ @muXxer
/scripts/tooling/ @iotaledger/tooling

/kiosk/ @iotaledger/vm-language
/nre/ @iotaledger/node

# Disable code ownership for these auto-generated files
/Cargo.lock
/pnpm-lock.yaml

# TODO
# /crates/iota-bridge/
# /crates/iota-bridge-cli/
# /crates/iota-bridge-indexer/
# /crates/iota-rosetta/
# /crates/iota-source-validation-service/
# /crates/iota-surfer/
# /crates/iota-util-mem/
# /crates/iota-util-mem-derive/
# /crates/transaction-fuzzer/
# /bridge/
2 changes: 2 additions & 0 deletions .github/actions/diffs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ runs:
- "dashboards/**"
- "doc/**"
- "docker/**"
- "dev-tools/**"
- "setups/**"
- "external-crates/**"
- "kiosk/**"
- "nre/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/crates-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ iota-protocol-config:
- "crates/iota-protocol-config/**"
iota-protocol-config-macros:
- "crates/iota-protocol-config-macros/**"
iota-proxy:
- "crates/iota-proxy/**"
iota-replay:
- "crates/iota-replay/**"
iota-rest-api:
Expand Down
34 changes: 34 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,37 @@ documentation:
explorer:
- changed-files:
- any-glob-to-any-file: apps/explorer/**/*
wallet:
- changed-files:
- any-glob-to-any-file: apps/wallet/**/*
wallet-dashboard:
- changed-files:
- any-glob-to-any-file: apps/wallet-dashboard/**/*
ts-sdk:
- changed-files:
- any-glob-to-any-file: sdk/**/*
apps-ui-kit:
- changed-files:
- any-glob-to-any-file: apps/ui-kit/**/*
apps-backend:
- changed-files:
- any-glob-to-any-file: apps/apps-backend/**/*
tooling:
- changed-files:
- any-glob-to-any-file: |
sdk/**
apps/**
dapps/**
linting/**
.husky/**
.changeset/**
.eslintrc.js
.lintstagedrc.json
.npmrc
.prettierignore
graphql.config.ts
package.json
pnpm-workspace.yaml
prettier.config.js
turbo.json
vercel.json
5 changes: 1 addition & 4 deletions .github/scripts/rosetta/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ cargo install --locked --bin iota --path crates/iota
cargo install --locked --bin iota-rosetta --path crates/iota-rosetta

echo "run IOTA genesis"
CONFIG_DIR=~/.iota/iota_config
if ! [ -d "$CONFIG_DIR" ]; then
iota genesis
fi
iota genesis --force

echo "generate rosetta configuration"
iota-rosetta generate-rosetta-cli-config --online-url http://127.0.0.1:9002 --offline-url http://127.0.0.1:9003
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/_e2e.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: TS End-to-end Tests

on:
workflow_dispatch:
workflow_call:
inputs:
isRust:
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:

- name: Build apps-backend
if: inputs.isAppsBackend || github.ref_name == 'develop'
run: pnpm --filter apps-backend build
run: pnpm turbo --filter apps-backend build

- name: Run apps-backend e2e tests
if: inputs.isAppsBackend || github.ref_name == 'develop'
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/_execution_cut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install cargo-hakari, and cache the binary
uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1
with:
crate: cargo-hakari
locked: true
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Make cut
run: ./scripts/execution_layer.py cut for_ci_test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/_external_rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: Install python dependencies
run: pip install pyopenssl --upgrade --break-system-packages
- name: cargo test
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/_move_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,23 @@ jobs:
# to Move code but not Rust code (If there are Rust changes, they
# will be run as part of a larger test suite).
move-test:
timeout-minutes: 10
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: Run move tests
run: |
cargo nextest run -E
run: >
cargo nextest run --profile ci -E
'package(iota-framework-tests)
or (package(iota-core) and test(quorum_driver::))
or package(iota-benchmark)
or test(move_tests::)'
move-simtest:
timeout-minutes: 10
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: Run move tests
run: |
run: >
scripts/simtest/cargo-simtest simtest --profile ci -E
'package(iota-framework-tests)
or (package(iota-core) and test(quorum_driver::))
Expand Down
21 changes: 2 additions & 19 deletions .github/workflows/_rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ jobs:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: cargo test
- name: cargo nextest
run: |
array=(${{ inputs.changedCrates }})
Expand Down Expand Up @@ -91,9 +88,6 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: benchmark (smoke)
run: |
cargo run --package iota-benchmark --bin stress -- --log-path /tmp/stress.log --num-client-threads 10 --num-server-threads 24 --num-transfer-accounts 2 bench --target-qps 100 --num-workers 10 --transfer-object 50 --shared-counter 50 --run-duration 10s --stress-stat-collection
Expand All @@ -103,11 +97,6 @@ jobs:
- name: rustdoc
run: |
cargo doc --all-features --workspace --no-deps
- name: Install cargo-hakari, and cache the binary
uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1
with:
crate: cargo-hakari
locked: true
- name: Install nightly rustfmt
run: rustup toolchain install nightly --component rustfmt --allow-downgrade
- name: iota-execution
Expand All @@ -126,9 +115,6 @@ jobs:
MSIM_WATCHDOG_TIMEOUT_MS: 60000
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: setup filter
run: |
array=(${{ inputs.changedCrates }})
Expand Down Expand Up @@ -185,9 +171,6 @@ jobs:
- 5432:5432
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: taiki-e/install-action@375e0c7f08a66b8c2ba7e7eef31a6f91043a81b0 # v2.44.38
with:
tool: nextest
- name: Install postgresql-client
run: sudo apt-get install -y postgresql-client
- name: Setup db
Expand All @@ -202,6 +185,6 @@ jobs:
cargo nextest run --no-fail-fast --test-threads 8 --package iota-graphql-e2e-tests --features pg_integration
cargo nextest run --no-fail-fast --test-threads 1 --package iota-cluster-test --test local_cluster_test --features pg_integration
cargo nextest run --no-fail-fast --test-threads 1 --package iota-indexer --test ingestion_tests --features pg_integration
# Iota-indexer's RPC tests, which depend on a shared runtime, are incompatible with nextest due to its process-per-test execution model.
# iota-indexer's RPC tests, which depend on a shared runtime, are incompatible with nextest due to its process-per-test execution model.
# cargo test, on the other hand, allows tests to share state and resources by default.
cargo test --profile simulator --package iota-indexer --test rpc-tests --features shared_test_runtime
Loading

0 comments on commit 9b20413

Please sign in to comment.