Skip to content

Commit

Permalink
Merge branch 'develop' into vm-language/stardust-models-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
miker83z committed Aug 13, 2024
2 parents c8bb82c + fc4678f commit f53399a
Show file tree
Hide file tree
Showing 1,399 changed files with 15,572 additions and 29,805 deletions.
2 changes: 2 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"iota-wallet",
"iota-explorer",
"wallet-dashboard",
"apps-backend",
"@iota/core",
"@iota/ui",
"@iota/apps-ui-kit",
"sponsored-transactions",
"kiosk-demo",
"kiosk-cli"
Expand Down
12 changes: 11 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Default fallback, if no other path below this matches someone from the `move` team has to review
* @iotaledger/l1-core

# Everything within the SDK folder
# Everything within the SDK folder
/sdk/ @iotaledger/boxfish @iotaledger/l1-core @iotaledger/tooling

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

# vm-language team
/iota-execution/ @miker83z @valeriyr
/external-crates/ @miker83z @valeriyr

# l1-core-infra team
/crates/iota-json-rpc*/ @iotaledger/l1-core-infra
/crates/iota-graphql*/ @iotaledger/l1-core-infra
/crates/iota-indexer/ @iotaledger/l1-core-infra
/crates/iota-rest-api/ @iotaledger/l1-core-infra

# dev-tools team
/crates/iota/ @iotaledger/dev-tools
/crates/iota-sdk/ @iotaledger/dev-tools
Expand Down
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Release
about: Request a new release
---

```[tasklist]
### Tasks
- [ ] Edit `.github/workflows/rust.yml`
- [ ] Edit `Cargo.toml`
- [ ] Edit `crates/iota-open-rpc/spec/openrpc.json`
- [ ] Update `sdk/typescript/src/version.ts` (`pnpm sdk build`)
- [ ] Update `Cargo.lock` (`cargo check`)
- [ ] Update `crates/iota-framework/packages/deepbook/Move.lock`
- [ ] Update `crates/iota-framework/packages/iota-framework/Move.lock`
- [ ] Update `crates/iota-framework/packages/iota-system/Move.lock`
- [ ] Update `crates/iota-framework/packages/move-stdlib/Move.lock`
- [ ] Update `crates/iota-framework/packages/stardust/Move.lock`
```
85 changes: 0 additions & 85 deletions .github/actions/ts-e2e/action.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/actions/turbo-diffs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ runs:
with:
fetch-depth: 0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected]
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: "20"
- id: changes
name: Detect changes
shell: bash
Expand Down
2 changes: 0 additions & 2 deletions .github/crates-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ iota-upgrade-compatibility-transactional-tests:
- "crates/iota-upgrade-compatibility-transactional-tests/**"
iota-verifier-transactional-tests:
- "crates/iota-verifier-transactional-tests/**"
iotans-indexer:
- "crates/iotans-indexer/**"
telemetry-subscribers:
- "crates/telemetry-subscribers/**"
test-cluster:
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Please write a summary of your changes and why you made them.

## Links to any relevant issues

Be sure to reference any related issues by adding `fixes issue #`.
Be sure to reference any related issues by adding `fixes #(issue)`.

## Type of change

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/apps-ui-kit-production.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,4 @@ jobs:
- name: Build Project Artifacts
run: vercel build --prod --cwd ./apps/ui-kit --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --cwd ./apps/ui-kit --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }} > vercel_output.txt
- name: Extract Deploy URL
id: deploy_url
run: echo "DEPLOY_URL=$(cat vercel_output.txt | awk 'END{print}')" >> $GITHUB_OUTPUT
- name: Set Vercel Alias
run: vercel alias --token=${{ secrets.VERCEL_TOKEN }} set ${{ steps.deploy_url.outputs.DEPLOY_URL }} ${{ secrets.APPS_UI_KIT_VERCEL_PRODUCTION_ALIAS }}
run: vercel deploy --cwd ./apps/ui-kit --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: cargo build (release) for ${{ matrix.os }} platform
shell: bash
run: |
[ -f ~/.cargo/env ] && source ~/.cargo/env ; cargo build --release --bin iota --bin iota-test-validator
[ -f ~/.cargo/env ] && source ~/.cargo/env ; cargo build --release --bin iota --bin iota-test-validator --bin iota-indexer
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -85,3 +85,4 @@ jobs:
path: |
./target/release/iota
./target/release/iota-test-validator
./target/release/iota-indexer
2 changes: 1 addition & 1 deletion .github/workflows/cargo-llvm-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
steps:
- uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # Pin v4.1.1

- name: Checkout iota repo main branch
- name: Checkout iota repo develop branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v3.0.3

- name: Get iota commit
Expand Down
23 changes: 2 additions & 21 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,17 @@ on:
workflow_dispatch:
push:
branches:
- main
- develop

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
runs-on: self-hosted
steps:
- name: Dispatch Changesets To Operations
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # [email protected]
with:
repository: iotaledger/iota-operations
token: ${{ secrets.CHANGESETS_DEPLOY_DISPATCH }}
event-type: changesets
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

version:
runs-on: self-hosted
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # pin@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
token: ${{ steps.generate_token.outputs.token }}
fetch-depth: 0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected]
- name: Install Nodejs
Expand All @@ -51,4 +32,4 @@ jobs:
# https://github.com/changesets/action#with-version-script
version: pnpm changeset-version
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/develop-ci-slack-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Report develop CI failure to slack

on:
workflow_run:
workflows: ["*"]
types: [completed]
branches: [develop]

jobs:
on-failure:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'timed_out'
steps:
- uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ github.event.workflow_run.conclusion }}
notification_title: " ${{github.event.workflow_run.name}} - ${{github.event.workflow_run.conclusion}} on ${{github.event.workflow_run.head_branch}}"
message_format: ":fire: *${{github.event.workflow_run.name}}* ${{github.event.workflow_run.conclusion}} <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.event.workflow_run.id}}|View Failure> author: ${{ github.event.workflow_run.head_commit.author.name }}"
footer: "${{ github.event.workflow_run.display_title }} \n<${{github.server_url}}/${{github.repository}}/commit/${{github.event.workflow_run.head_commit.id}}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.DEV_BROKEN_CI_SLACK_WEBHOOK }}
24 changes: 24 additions & 0 deletions .github/workflows/dprint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Dprint Format

on:
push:
branches:
- "develop"
- "devnet"
- "testnet"
- "mainnet"
- "releases/iota-*-release"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}

jobs:
dprint-format:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Check dprint formatting
run: dprint check
Loading

0 comments on commit f53399a

Please sign in to comment.