Skip to content

Commit

Permalink
Typescript api 2000 (#1973)
Browse files Browse the repository at this point in the history
* fix staking benchmark tests (#1951)

* remove reward for delegator warn logs (#1895)

* Add once (#1857)

* Added tests for standard eth RPC methods (#1949)

* Added standard eth RPC tests

* reduced line length

* Added testskip for FullFilter pool

* bump client and runtime versions (#1910)

* Fix CI for external pr (#1963)

* remove useless job docker-parachain

* fix if condition for exterrnal PRs

solution find here: https://github.com/orgs/community/discussions/25217

* apply suggestion

* Fixing type errors on new pkgs (#1964)

* New smoke tests for detecting XCM and ETH failures (#1955)

* Added xcm failures smoke test

* Lint

* fixed spelling

* New smoke test to detect emulated Ethereum txn failures (#1961)

* Progress on paysFee

* Added new eth fail test

* Added tests new eth failed txn tests

* Lint

* Reverted vsc settings.json

* Update settings.json

for some reason prettier was flagging this as error despite on ignore list.

* Update settings.json

* prettier

* prettier

* update sha3 and libsecp256k1 dependencies (#1959)

* fix(ci): job prepare-polkadot must never be skipped (#1967)

* Moonbeam polkadot v0.9.32 (#1933)

* UPdate tomls

* bump ethereum types

* pallet-staking: RuntimeEvent, RUntimeCall, RuntimeOrigin

* asset-manager: RuntimeEvent, RUntimeCall, RuntimeOrigin

* author-mapping: RuntimeEvent, RUntimeCall, RuntimeOrigin

* ethereum-xcm: RuntimeEvent, RUntimeCall, RuntimeOrigin

* maintenance-mode: RuntimeEvent, RUntimeCall, RuntimeOrigin

* migrations: RuntimeEvent, RUntimeCall, RuntimeOrigin

* moonbeam-orbiters: RuntimeEvent, RUntimeCall, RuntimeOrigin

* proxy-genesis: RuntimeEvent, RUntimeCall, RuntimeOrigin

* randomness: RuntimeEvent, RUntimeCall, RuntimeOrigin

* xcm-transactor: RuntimeEvent, RUntimeCall, RuntimeOrigin

* FMT

* assets-erc20-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* author-mapping-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* balances-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* batch-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* call-permit: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* collective-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* crowdloan-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* new cargo lock

* Fix error on toml

* pallet-democracy:runtimecall, runtime:origin

* staking-precomp:runtimecall, runtime:origin

* democracy-precomp:runtimecall, runtimeorigin

* randomness-precomp:runtimecall, runtimeorigin

* relay-encoder-precomp:runtimecall, runtimeorigin

* xcm-transactor-precomp:runtimecall, runtimeorigin

* xcm-utils-precomp:runtimecall, runtimeorigin

* xtokens-precomp:runtimecall, runtimeorigin

* precompile fmt

* Adapting moonbase to RuntimeEvent, RuntimeCall, RuntimeOrigin

* Fix moonbase runtime, which compiles now

* Adapt moonriver runtime to: democracy changes, RuntimeOrigin, RuntimeEvent, RuntimeCall

* moonbeam

* Adapt everything to clap 4.0.9

* FMT and fix democracy precompiles

* Start fixing pallet-democracy precompile tests

* BRing back note_preimage tests, imminent is removed

* Bring back imminent preimage

* moonbase tests updated

* FMT

* moonriver tests working

* install protoc in ci

* try again without sudo

* try again, this time manually

* Moonriver fmt, test fixes

* Fix moonbeam rust tests

* Fix last rust tests

* Adapt weight calculus to new weight system

* start fixing typescript tests

* Keep fixing tests

* Dispatch info now returns with base weight

* fix queue now new weight

* Keep fixing new weight related tests

* remove proto installation

* fix again github job

* Point at official evm and ethereum crates

* Debugging scheduler not working

* Keep fixing bounded democracy test calls

* Fix crowdloan democracy test

* Keep fixing tests

* More fixes related to weights and democracy

* FMT

* toml sort

* prettier

* more prettier

* compile benchmarks

* toml sort

* remove warning

* remove unused var

* Cargo lock

* fix proxy-governance test

* change democracy-proposal test

* More fixes

* Fix latest of democracy tests

* Add remaining migrations from BoundedCall

* Upgrade to 0.9.32

* FMT

* toml sort

* prettier

* editorconfig

* update polkadot api

* fix ega

* add proxy filters, this time in create_pure and kill_pure

* Add couple of db reads

* remove some as anys

* Revert "remove some as anys"

This reverts commit 5c9294a.

* fix try-runtime

* try-runtime hooks being executed

* Add pr suggestions

* warnings cleared

* more unused imports

* Fix merge error

* prettier

* add when runtime migrations were completed

* remove migrations that have already run and that require maintenance

* Preimage lazy migration (#1962)

* migration call

* add new migration Call to runtimes

* unit tests

* benchmarking

* Benchmarking from the benchmarking server

* toml fmt

Co-authored-by: girazoki <gorka.irazoki@gmail.com>

* fmt

* 0.9.31 ts fixes (#1966)

* ts fixes

* small fixes

* lint

Co-authored-by: nanocryk <6422796+nanocryk@users.noreply.github.com>
Co-authored-by: Tim B <timbrinded@gmail.com>
Co-authored-by: Crystalin <alan.sapede@gmail.com>

* fix workflow check features (#1970)

* types for runtime 2000

Co-authored-by: Nisheeth Barthwal <nbaztec@gmail.com>
Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
Co-authored-by: bear <boundless.forest@outlook.com>
Co-authored-by: Tim B <timbrinded@gmail.com>
Co-authored-by: Éloïs <c@elo.tf>
Co-authored-by: Qinxuan Chen <koushiro.cqx@gmail.com>
Co-authored-by: girazoki <gorka.irazoki@gmail.com>
Co-authored-by: nanocryk <6422796+nanocryk@users.noreply.github.com>
  • Loading branch information
9 people committed Nov 28, 2022
1 parent 44e2ace commit 6bbb022
Show file tree
Hide file tree
Showing 267 changed files with 16,363 additions and 16,000 deletions.
57 changes: 4 additions & 53 deletions .github/workflows/build.yml
Expand Up @@ -170,6 +170,7 @@ jobs:
####### Preparing polkadot binary for parachain tests #######
####### For non-official repo, the script will fail if a new version of
####### polkadot needs to be pushed.
####### This job must not be skipped (otherwise the ts-tests are not run)

prepare-polkadot:
runs-on: self-hosted
Expand All @@ -180,7 +181,8 @@ jobs:
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Login to DockerHub
if: github.repository == 'purestake/moonbeam'
# The if must stay on this step (because this job must not be skipped)
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down Expand Up @@ -539,61 +541,10 @@ jobs:
$DOCKER_TAG \
node node_modules/.bin/mocha --exit 'build/para-tests/**/test-*.js'
docker-parachain:
runs-on: ubuntu-latest
needs: ["set-tags", "build"]
if: ${{ needs.set-tags.outputs.image_exists }} == false && github.repository == 'purestake/moonbeam'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- uses: actions/download-artifact@v2
with:
name: moonbeam
path: build
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=purestake/moonbase-parachain
TAGS="${DOCKER_IMAGE}:sha-${{ needs.set-tags.outputs.sha8 }}"
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
driver-opts: |
image=moby/buildkit:master
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push parachain
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/moonbase-parachain.Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.prep.outputs.tags }}
labels: |
org.opencontainers.image.title=${{ github.event.repository.name }}
org.opencontainers.image.description=${{ github.event.repository.description }}
org.opencontainers.image.url=${{ github.event.repository.html_url }}
org.opencontainers.image.source=${{ github.event.repository.clone_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }}
docker-moonbeam:
runs-on: ubuntu-latest
needs: ["set-tags", "build"]
if: ${{ needs.set-tags.outputs.image_exists }} == false && github.repository == 'purestake/moonbeam'
if: ${{ needs.set-tags.outputs.image_exists }} == false && ${{ github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-features.yml
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install tooling
run: |
sudo apt-get install -y protobuf-compiler
protoc --version
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup Rust toolchain
Expand Down

0 comments on commit 6bbb022

Please sign in to comment.