Skip to content

Commit

Permalink
Assets documentation updates, permissionless assets specification, as…
Browse files Browse the repository at this point in the history
…sets CosmWasm interface and clean up of all old things (#3777)

- just this one is target for alignment
https://github.com/ComposableFi/composable/pull/3777/files#diff-62bb4c85c69a0da7704069fa70b25e210d3ea94c0969a28fab6989f82b78cd54
- added CW interface to assets and generated schema files
- delete all legacy/obsolete/incorrect/useless things about assets
- delete all in deleting rush because it has assets/tokens in text/name
and was obsolete/useless/no compilable/cacneled
- fixed nix linter
- nuked subquid cc @fl-y 

- [x] PR title is my best effort to provide summary of changes and has
clear text to be part of release notes
- [x] I marked PR by `misc` label if it should not be in release notes
- [x] I have linked Zenhub/Github or any other reference item if one
exists
- [x] I was clear on what type of deployment required to release my
changes (node, runtime, contract, indexer, on chain operation, frontend,
infrastructure) if any in PR title or description
- [x] I waited and did best effort for `pr-workflow-check /
draft-release-check` to finish with success(green check mark) with my
changes
- [x] I have added at least one reviewer in reviewers list
- [x] I tagged(@) or used other form of notification of one person who I
think can handle best review of this PR
- [x] I have proved that PR has no general regressions of relevant
features and processes required to release into production

---------

Signed-off-by: dzmitry-lahoda <dzmitry@lahoda.pro>
Co-authored-by: Kostya Kastsevich <kkastsevich@gmail.com>
  • Loading branch information
dzmitry-lahoda and kkast committed Jul 13, 2023
1 parent e313045 commit d73102e
Show file tree
Hide file tree
Showing 292 changed files with 1,022 additions and 99,651 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Update benchmarks weights
name: benchmark

on:
workflow_dispatch:
# Benchmarks run on the main repo branches only.
pull_request:
types: [labeled]
branches:
Expand All @@ -13,8 +12,8 @@ env:
CACHIX_COMPOSABLE: composable-community

jobs:
update_benchmarks_weights:
name: Update benchmarks weights
update-benchmarks-weights:
name: update-benchmarks-weights
runs-on:
- self-hosted
- bmark
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ jobs:
push-docker-images:
name: push-docker-images
if: ${{ inputs.github_event_name == 'push' || (inputs.github_event_name == 'pull_request' && inputs.github_event_pull_request_head_repo_id == 383289760) }}
# needs:
# - draft-release-check
needs:
- draft-release-check
runs-on:
- x86_64-linux-32C-128GB-2TB
concurrency:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "build-test-deploy-flaky"
name: "release-docs"
on:
push:
branches:
Expand All @@ -25,93 +25,7 @@ env:
DOCKER_USER_OPTION: '$UID:$GID'

jobs:
test-subsquid:
name: test-subsquid [FLAKY]
strategy:
matrix:
arch: [x64-cute]
runs-on:
- self-hosted
- ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-test-subsquid-${{ matrix.arch }}-${{ github.event.pull_request.title }}
cancel-in-progress: true
steps:
- name: Set up Nix
uses: cachix/install-nix-action@daddc62a2e67d1decb56e028c9fa68344b9b7c2a # v18
with:
install_url: https://releases.nixos.org/nix/${{ env.NIX_VERSION }}/install
nix_path: nixpkgs=channel:${{ env.NIXPKGS_CHANNEL }}
extra_nix_config: |
sandbox = relaxed
narinfo-cache-negative-ttl = 0
system-features = kvm
- name: Set up Cachix
uses: cachix/cachix-action@298387a7aea14d6564aa5d6ead79272878339c8b # v12
with:
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: ${{ env.CACHIX_NAME }}
- name: Add tools needed for non-nix steps
run: |
nix-channel --add https://nixos.org/channels/${{ env.NIXPKGS_CHANNEL }} nixpkgs
nix-channel --update
nix-env -iA nixpkgs.cachix nixpkgs.nodejs nixpkgs.git nixpkgs.git-lfs nixpkgs.tree nixpkgs.docker nixpkgs.coreutils nixpkgs.gnumake nixpkgs.python311 nixpkgs.gcc
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup jest
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
working-directory: subsquid
- name: Run tests
run: npm run test
working-directory: subsquid

package-subsquid-processor:
name: package-subsquid-processor [FLAKY]
needs:
- test-subsquid
strategy:
matrix:
arch: [x64-cute]
runs-on:
- self-hosted
- ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-package-subsquid-processor-${{ matrix.arch }}-${{ github.event.pull_request.title }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Log INFO commit sha
run: |
echo "GITHUB_SHA=${GITHUB_SHA} github.sha=${{ github.sha }}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
tags: |
${{ env.DOCKER_REGISTRY_NAME }}/subsquid-processor:latest
${{ env.DOCKER_REGISTRY_NAME }}/subsquid-processor:${{ github.sha }}
context: subsquid
# do release flow
push: ${{ github.event_name == 'push' && github.ref_name == 'main' }}

# this is not flaky!!!
deploy-docs:
name: "deploy-docs"
runs-on: ubuntu-latest
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/release-subsquid-processor.yml

This file was deleted.

6 changes: 0 additions & 6 deletions code/integration-tests/runtime-tests/.codeac.yml

This file was deleted.

18 changes: 0 additions & 18 deletions code/integration-tests/runtime-tests/.eslintrc.yml

This file was deleted.

Loading

0 comments on commit d73102e

Please sign in to comment.