-
Notifications
You must be signed in to change notification settings - Fork 4
feat(meta): Add meta-consensus-rpc module. #64
base: main
Are you sure you want to change the base?
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dbc6f28 - Browse repository at this point
Copy the full SHA dbc6f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6206b - Browse repository at this point
Copy the full SHA 9f6206bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7df137b - Browse repository at this point
Copy the full SHA 7df137bView commit details
Commits on Aug 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b07dff9 - Browse repository at this point
Copy the full SHA b07dff9View commit details
Commits on Aug 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ea94efc - Browse repository at this point
Copy the full SHA ea94efcView commit details
Commits on Aug 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1246cca - Browse repository at this point
Copy the full SHA 1246ccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 877dd19 - Browse repository at this point
Copy the full SHA 877dd19View commit details
Commits on Sep 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6d183a2 - Browse repository at this point
Copy the full SHA 6d183a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d76c90a - Browse repository at this point
Copy the full SHA d76c90aView commit details -
Configuration menu - View commit details
-
Copy full SHA for efc7f42 - Browse repository at this point
Copy the full SHA efc7f42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd3069 - Browse repository at this point
Copy the full SHA 6cd3069View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8edea8 - Browse repository at this point
Copy the full SHA e8edea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b7edb5 - Browse repository at this point
Copy the full SHA 7b7edb5View commit details
Commits on Sep 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 76bea7a - Browse repository at this point
Copy the full SHA 76bea7aView commit details
Commits on Sep 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 99111ad - Browse repository at this point
Copy the full SHA 99111adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c9e652 - Browse repository at this point
Copy the full SHA 7c9e652View commit details
Commits on Sep 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a0f7c75 - Browse repository at this point
Copy the full SHA a0f7c75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c72fd - Browse repository at this point
Copy the full SHA 26c72fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f717df7 - Browse repository at this point
Copy the full SHA f717df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b72af9 - Browse repository at this point
Copy the full SHA 6b72af9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d28aab - Browse repository at this point
Copy the full SHA 3d28aabView commit details
Commits on Sep 28, 2022
-
chore(ts-tests): add e2e contracts (#66)
#### What this PR does / why we need it: Develop and test on a simple smart contract functionality on substrate-based blockchain. #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes # #### Additional comments?: Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 26fc599 - Browse repository at this point
Copy the full SHA 26fc599View commit details -
bump(deps): update dependency @birthdayresearch/contented to v1.6.1 (#81
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @​birthdayresearch/contented | [`1.6.0` -> `1.6.1`](https://renovatebot.com/diffs/npm/@birthdayresearch%2fcontented/1.6.0/1.6.1) | [![age](https://badges.renovateapi.com/packages/npm/@birthdayresearch%2fcontented/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@birthdayresearch%2fcontented/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@birthdayresearch%2fcontented/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@birthdayresearch%2fcontented/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/DeFiCh/metachain). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuMyIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC4zIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c3f1303 - Browse repository at this point
Copy the full SHA c3f1303View commit details -
refactor(workflows): cleanup and generalize workflows, also add pnpm …
…workflows (#71) #### What this PR does / why we need it: As per the title. - Add a general `release.yml` pipeline for releasing NPM packages. - Add `environment: Release Docker` for `release-docker.yml` for deployment gates - Add new workflow for pnpm: - `Build (pnpm)` - `Lint (pnpm prettier)` - `Lint (pnpm eslint)` - `Test (pnpm)` is temporary failing since there isn't any test coverage to upload. - `Test (pnpm e2e)` deprecated and removeing soon. - Migrate old workflow for cargo to new name: - `Build (cargo)` - `Test (cargo)` - `Lint (cargo fmt)` - `Lint (cargo clippy)`
Configuration menu - View commit details
-
Copy full SHA for a21094a - Browse repository at this point
Copy the full SHA a21094aView commit details -
bump(deps): update dependency turbo to ^1.4.6 (#82)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [turbo](https://turborepo.org) ([source](https://togithub.com/vercel/turborepo)) | [`^1.4.5` -> `^1.4.6`](https://renovatebot.com/diffs/npm/turbo/1.4.5/1.4.6) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.4.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.4.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.4.6/compatibility-slim/1.4.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.4.6/confidence-slim/1.4.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/turborepo</summary> ### [`v1.4.6`](https://togithub.com/vercel/turborepo/releases/tag/v1.4.6) [Compare Source](https://togithub.com/vercel/turborepo/compare/v1.4.5...v1.4.6) #### What's Changed ##### Internal - fix(deps): update dependency ora to v4.1.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1854](https://togithub.com/vercel/turborepo/pull/1854) - Don't special case version command by [@​gsoltis](https://togithub.com/gsoltis) in [https://github.com/vercel/turborepo/pull/1870](https://togithub.com/vercel/turborepo/pull/1870) - fix(deps): update dependency react-hot-toast to v2.3.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1875](https://togithub.com/vercel/turborepo/pull/1875) - chore(deps): update jamesives/github-pages-deploy-action action to v4.4.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1851](https://togithub.com/vercel/turborepo/pull/1851) - chore(deps): update dependency typescript to v4.8.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1849](https://togithub.com/vercel/turborepo/pull/1849) - chore(deps): update dependency esbuild to ^0.15.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1848](https://togithub.com/vercel/turborepo/pull/1848) - Enable pnpm@6 testing. by [@​7flash](https://togithub.com/7flash) in [https://github.com/vercel/turborepo/pull/1837](https://togithub.com/vercel/turborepo/pull/1837) - fix(deps): update dependency eslint-plugin-react to v7.31.7 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1834](https://togithub.com/vercel/turborepo/pull/1834) - chore(deps): update dependency [@​types/react](https://togithub.com/types/react) to v17.0.49 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vercel/turborepo/pull/1833](https://togithub.com/vercel/turborepo/pull/1833) - Replace some 2 letter variables for readability by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turborepo/pull/1845](https://togithub.com/vercel/turborepo/pull/1845) ##### Documentation - Remove unused packages from docs site by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turborepo/pull/1828](https://togithub.com/vercel/turborepo/pull/1828) - Consolidated 'workspace' and 'package' terminology by [@​mattpocock](https://togithub.com/mattpocock) in [https://github.com/vercel/turborepo/pull/1817](https://togithub.com/vercel/turborepo/pull/1817) - Rewrote docs homepage by [@​mattpocock](https://togithub.com/mattpocock) in [https://github.com/vercel/turborepo/pull/1756](https://togithub.com/vercel/turborepo/pull/1756) - Update existing-monorepo.mdx by [@​shemayas](https://togithub.com/shemayas) in [https://github.com/vercel/turborepo/pull/1858](https://togithub.com/vercel/turborepo/pull/1858) - Update Docs by [@​PhentomPT](https://togithub.com/PhentomPT) in [https://github.com/vercel/turborepo/pull/1794](https://togithub.com/vercel/turborepo/pull/1794) - Fix broken links on "Add to existing Monorepo" by [@​pakaponk](https://togithub.com/pakaponk) in [https://github.com/vercel/turborepo/pull/1836](https://togithub.com/vercel/turborepo/pull/1836) ##### Examples - Removed parallel flag from basic example by [@​mattpocock](https://togithub.com/mattpocock) in [https://github.com/vercel/turborepo/pull/1787](https://togithub.com/vercel/turborepo/pull/1787) - Renamed storybook components by [@​samuelhorn](https://togithub.com/samuelhorn) in [https://github.com/vercel/turborepo/pull/1841](https://togithub.com/vercel/turborepo/pull/1841) ##### Packages - fix(eslint): exclude variables in rule by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turborepo/pull/1865](https://togithub.com/vercel/turborepo/pull/1865) #### New Contributors - [@​shemayas](https://togithub.com/shemayas) made their first contribution in [https://github.com/vercel/turborepo/pull/1858](https://togithub.com/vercel/turborepo/pull/1858) - [@​7flash](https://togithub.com/7flash) made their first contribution in [https://github.com/vercel/turborepo/pull/1837](https://togithub.com/vercel/turborepo/pull/1837) - [@​PhentomPT](https://togithub.com/PhentomPT) made their first contribution in [https://github.com/vercel/turborepo/pull/1794](https://togithub.com/vercel/turborepo/pull/1794) **Full Changelog**: vercel/turborepo@v1.4.5...v1.4.6 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/DeFiCh/metachain). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuMyIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC4zIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e5ba1cc - Browse repository at this point
Copy the full SHA e5ba1ccView commit details -
chore(ts-tests): refactor
ts-tests/*
to follow pnpm and turbo works……pace design (#86) #### What this PR does / why we need it: Move `ts-tests/*` to utilize pnpm and turbo mono-repo workspace design. With this, we managed to keep configs (eslint, prettier, babel jest) DRY. The PR "workspace-ize" `ts-tests` but ultimately many more PR is required to break this package into multiple smaller mono repo packages. Follow-up PRs required to address these: - [ ] ESLINT will be added back once we move to "testsuite", also part of #79 - [ ] #78 --- **What's new?** As suggested in #66 (comment) I've added hardhat compile turbo workflow. `@birthdayresearch/sticky-turbo-jest` is a turbo-aware `jest-preset`; it automatically run `dependsOn` script before running jest. By taking advantage of content-aware hashing from turborepo. `dependsOn` only runs if the pipeline `inputs` has changed. When you run your test with `@birthdayresearch/sticky-turbo-jest` preset, it uses `displayName` from your jest config to figure out which `pipeline` to use. It will automatically pinpoint the corresponding `dependsOn` and run all the scripts specified within. > TLDR, when you run a dependent test, it automatically recompiles your contract with hardhat when it detects changes in your `contracts/*.sol` file. If it has the cached version, it will simply "output" the result instead of rebuilding it. https://sticky.birthday.dev/packages/sticky-turbo-jest `package.json`: ```json "scripts": { "compile": "hardhat compile", "test": "jest" }, "jest": { "displayName": "test", "preset": "@birthdayresearch/sticky-turbo-jest" }, ``` `turbo.json`: ```json "compile": { "inputs": ["contracts/**"], "outputs": ["artifacts", "cache"] }, "test": { "inputs": ["src/**", "**/*.unit.ts", "tests-e2e/**"], "dependsOn": ["^build", "compile"] }, ``` #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #79
Configuration menu - View commit details
-
Copy full SHA for 5c7bb96 - Browse repository at this point
Copy the full SHA 5c7bb96View commit details -
chore(.idea): check in codeStyles and .gitignore for
.idea/*
(#87)#### What this PR does / why we need it: As per the title.
Configuration menu - View commit details
-
Copy full SHA for d6196da - Browse repository at this point
Copy the full SHA d6196daView commit details -
refactor(testcontainers): move testcontainers into its own package (#67)
#### What this PR does / why we need it: Refactor and move `ts-tests` into mono-repo style packages to allow separation of context and downstream usability. This is the continuation of #42 `@defimetachain/testcontainers` Provides easy to use and test lightweight, throwaway instances of MetaChain provisioned automatically in a Docker container. `MetaChainContainer` and `StartedMetaChainContainer` follows the convention defined in [testcontainers/testcontainers-node](https://github.com/testcontainers/testcontainers-node) ```ts let container: StartedMetaChainContainer; let rpc: ethers.providers.JsonRpcProvider; beforeEach(async () => { container = await new MetaChainContainer().start(); }); afterEach(async () => { await container.stop(); }); it('should createBlock', async function () { await container.createBlock(); expect(await rpc.getBlockNumber()).toStrictEqual(1); }); ``` #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes #78 #### Additional comments?: The current implementation in `ts-tests` isn't yet migrated to use the new standard and convention defined here. That should be done as part of #79.
Configuration menu - View commit details
-
Copy full SHA for 8547030 - Browse repository at this point
Copy the full SHA 8547030View commit details -
chore(docs): add documentation structure for MetaChain (#90)
#### What this PR does / why we need it: As per the title. Merely cosmetic change to move documentation structure into place. #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #8
Configuration menu - View commit details
-
Copy full SHA for ce06fa6 - Browse repository at this point
Copy the full SHA ce06fa6View commit details -
chore(governance): add area/ain to earmark issues/pr that requires ch…
…anges on the DeFiCh/ain codebase (#92) #### What this PR does / why we need it: As per the title.
Configuration menu - View commit details
-
Copy full SHA for d1a1617 - Browse repository at this point
Copy the full SHA d1a1617View commit details -
chore(docs): add draft of MetaChain consensus (#101)
#### What this PR does / why we need it: As per the title, this PR is a working draft version of MetaChain Consensus. Signed-off-by: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Co-authored-by: Eli <31790206+eli-lim@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6d3bf1f - Browse repository at this point
Copy the full SHA 6d3bf1fView commit details -
docs(token-bridge): add draft for MetaChain Token & Bridge (#102)
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: As per the title, this PR is a working draft version of MetaChain Token & Bridge. Signed-off-by: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Co-authored-by: Eli <31790206+eli-lim@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d9704c4 - Browse repository at this point
Copy the full SHA d9704c4View commit details -
chore(ts-tests): Replace MetaDContainer with MetaChainContainer (#104)
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes # #### Additional comments?:
Configuration menu - View commit details
-
Copy full SHA for 90e5b28 - Browse repository at this point
Copy the full SHA 90e5b28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5352280 - Browse repository at this point
Copy the full SHA 5352280View commit details