Filecoin to substrate bridge

Overview

filecoindot

github build status license

A Substrate pallet to bridge from Filecoin to any blockchain built using the Substrate framework, including Polkadot parachains.

How to integrate the Filecoin bridge pallet into a runtime?

TODO

See the example runtime for a full example showing how to integrate the pallet into a substrate runtime.

ChainSafe Security Policy

Reporting a Security Bug

We take all security issues seriously, if you believe you have found a security issue within a ChainSafe project please notify us immediately. If an issue is confirmed, we will take all necessary precautions to ensure a statement and patch release is made in a timely manner.

Please email us a description of the flaw and any related information (e.g. reproduction steps, version) to security at chainsafe dot io.

Comments
  • Nft generation

    Nft generation

    • creates the buckets in ChainSafe storage for collection metadata, nft metadata, nft content
    • creates a NFT collection with Alice's key in case it's not been done before
    • allows to upload an image and create an NFT out of it. It's part of the collection that was created before
    • the CID of the content is visible and clickable for each NFT
    • (not visible in the video) I now show in the UI the block where the NFT got minted in case you want to check in the pjs/apps explorer.
    • I've put my Storage api key here, I'll revoke it in a couple months I guess.

    It's recommended to add Alice's account in your Polkadot.js extension to ease things. Just add an account with the following mnemonic (and its derivation, just like that):

    bottom drive obey lake curtain smoke basket hold race lonely fit walk//Alice
    

    https://user-images.githubusercontent.com/33178835/150577525-a0698193-c827-44bb-886d-952c90385b96.mp4

    opened by Tbaut 3
  • UI for proof test with cid

    UI for proof test with cid

    This is a simple UI with relatively helpful messages if:

    • the api can't connect to the node, e.g the node isn't started
    • the user doesn't have the polkadot extension installed, or if they have no account
    • if the node throws error at the proof verification, we display them (see demo below)

    For now the wallet account is useless since there is nothing that needs to be signed.

    https://user-images.githubusercontent.com/33178835/148461351-d7a1e1c0-9016-4f29-90ea-812ce9bd8274.mp4

    Status: Approved 
    opened by Tbaut 3
  • Ensure vote transaction triggered in e2e tests

    Ensure vote transaction triggered in e2e tests

    Issue summary

    in case of the test in this issue is hard to debug ( http requests have problem in production rn ), the implementation of #97 only tested the add_relayer transaction, need a follow up on this problem.

    Other information and links

    opened by clearloop 3
  • Adds module for handling the http request of Filecoin RPC

    Adds module for handling the http request of Filecoin RPC

    Issue summary

    • [x] module with http client
    • [x] declare the data structure of Filecoin RPC
    • [x] parse the data structure of http response
    • [ ] Timeout logic ensures that slow or unresponsive RPC endpoints will not cause workers to queue up faster than they are terminated

    Other information and links

    opened by clearloop 3
  • Step 5 - NFT Transfer, Test and Display page

    Step 5 - NFT Transfer, Test and Display page

    The user reach to a the page where they can carry out several actions.

    5.1. list all the existing NFT associated to that address 5.2 enter another polkadot address and transfer the NFT. No need to capture errors. 5.3 test another CID >> cf #148

    image.png

    opened by Redoudou 2
  • refactor(types)!: move the field 'voted' from BlockSubmissionProposal struct into a new storage map

    refactor(types)!: move the field 'voted' from BlockSubmissionProposal struct into a new storage map

    called BlockProposalVotes.

    Changes

    • A new storage double map called BlockProposalVotes is created to store an entry of (BlockNumber, AccountId, ()) this tracks the list accounts which voted for a particular submitted Block proposal
    • the logic code from vote method in BlockSubmissionProposal shifted into filecoindot pallet's method vote_block_proposal.
    • A new method set_status is added to BlockSubmissionProposal to allow changes to it's status being called from the pallet's runtime.
    • The visibility of is_expired method from BlockSubmissionProposal is now pub to allow calling it from the pallet's runtime.

    Tests

    - cargo test --release
    

    Issues

    • Issue #73
    opened by ivanceras 2
  • Use rpc call to set keypair to the node

    Use rpc call to set keypair to the node

    Issue summary

    here's the steps setting the signer to filecoindot

    1. generate a new substrate keypair for offchain worker
    $ subkey generate
      Secret seed:      0x7807452ba1e8efb0aef1acf30e18e793fa98062c7f40240c44ca1b634a02b3e7
      Public key (hex): 0x90ce9ffe44c70e6118679829bae5548dcb1767b38bcc415b1dafa6588ddb1b5f
      Account ID:       0x90ce9ffe44c70e6118679829bae5548dcb1767b38bcc415b1dafa6588ddb1b5f
      SS58 Address:     5FLa8femo9wavDCdUUGuLQbYLGxGyG9RQ6dS43FQTg2x9gxB
    
    1. set key to the keystore of filecoindot node with rpc call author_insertkey
    $ curl -X POST -vk 'http://localhost:9933' -H "Content-Type:application/json;charset=utf-8" \
      -d '{
        "jsonrpc":2.0,
        "id":1,
        "method":"author_insertKey",
        "params": [
          "fdot",
          "0x7807452ba1e8efb0aef1acf30e18e793fa98062c7f40240c44ca1b634a02b3e7",
          "0x90ce9ffe44c70e6118679829bae5548dcb1767b38bcc415b1dafa6588ddb1b5f"
        ]
      }'
    
    1. use Signer to find the key we just set in ocw
    let  signer: Signer = Signer::<T, T::AuthorityId>::all_accounts();
    
    // sign txs
    

    Other information and links

    • #27
    opened by clearloop 2
  • Make filecoindot-ocw a substrate pallet

    Make filecoindot-ocw a substrate pallet

    Issue summary

    refter to https://github.com/jimmychu0807/substrate-offchain-worker-demo/commits/master, make the ocw a stand alone pallet for flexible configuration

    Other information and links

    opened by clearloop 2
  • chore(deps): bump jsonrpc-core from 15.1.0 to 18.0.0

    chore(deps): bump jsonrpc-core from 15.1.0 to 18.0.0

    Bumps jsonrpc-core from 15.1.0 to 18.0.0.

    Release notes

    Sourced from jsonrpc-core's releases.

    v17.1.0

    • IPC bugfixes (#610, #613)
    • Erroring when unsubscribing from invalid subscription ids (#619)
    • Allow using future-util dependency (#609)

    JSON-RPC v17.0.0

    • tokio-0.2 migration

    JSON-RPC v16.0.0

    • Initial async/await support
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • chore(deps): bump reqwest from 0.11.5 to 0.11.6

    chore(deps): bump reqwest from 0.11.5 to 0.11.6

    Bumps reqwest from 0.11.5 to 0.11.6.

    Changelog

    Sourced from reqwest's changelog.

    v0.11.6

    • (wasm) Fix request bodies more.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • chore(deps): bump thiserror from 1.0.29 to 1.0.30

    chore(deps): bump thiserror from 1.0.29 to 1.0.30

    Bumps thiserror from 1.0.29 to 1.0.30.

    Release notes

    Sourced from thiserror's releases.

    1.0.30

    • Make #[source] attribute usable on a field of type Box<dyn Error + Send + Sync + UnwindSafe + 'static> (#155, thanks @​cosmicexplorer)
    Commits
    • 672e952 Release 1.0.30
    • 5c62f5e Merge pull request #155 from cosmicexplorer/derive-unwindsafe
    • 2fd08cc add UnwindSafe impl for AsDynError
    • 00956f1 Ui test changes for trybuild 1.0.49
    • 035abbd Add actions job to notice outdated dependencies
    • f072c62 Update ui test files
    • 791a98e Update ui test suite to nightly-2021-10-07
    • ed234d4 Declare minimum Rust version in Cargo metadata
    • bda41eb Skip clippy job on pull requests
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • chore(deps): bump serde_json from 1.0.78 to 1.0.91

    chore(deps): bump serde_json from 1.0.78 to 1.0.91

    Bumps serde_json from 1.0.78 to 1.0.91.

    Release notes

    Sourced from serde_json's releases.

    v1.0.90

    • Documentation improvements

    v1.0.89

    • Fix invalid JSON incorrectly accepted when a large number has no digits after decimal point (#953)

    v1.0.88

    • Optimize serde_json::Map's implementation of append and clone_from (#952, thanks @​Lucretiel)

    v1.0.87

    • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#940, thanks @​Lucretiel)

    v1.0.86

    • Support arbitrary_precision feature even in no-std mode (#928, thanks @​kvinwang)

    v1.0.85

    • Make Display for Number produce the same representation as serializing (#919)

    v1.0.84

    • Make Debug impl of serde_json::Value more compact (#918)

    v1.0.83

    • Add categories to crates.io metadata

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)

    v1.0.80

    • Documentation improvements

    v1.0.79

    • Allow RawValue deserialization to propagate \u escapes for unmatched surrogates, which can later by deserialized to Vec<u8> (#830, thanks @​lucacasonato)
    Commits
    • 26f147f Release 1.0.91
    • d9cdb98 Opt out -Zrustdoc-scrape-examples on docs.rs
    • 331511d Release 1.0.90
    • 8753829 Replace ancient CI service provider in readme
    • 0a43394 Update build status badge
    • 8794844 Prevent build.rs rerunning unnecessarily on all source changes
    • 0b54871 Time out workflows after 45 minutes
    • ecad462 Fix renamed let_underscore_drop lint
    • 9295c96 Resolve needless_borrowed_reference clippy lints
    • d2f9368 Release 1.0.89
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 0
  • chore(deps): bump express from 4.17.2 to 4.18.2

    chore(deps): bump express from 4.17.2 to 4.18.2

    Bumps express from 4.17.2 to 4.18.2.

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump scale-info from 1.0.0 to 2.3.1

    chore(deps): bump scale-info from 1.0.0 to 2.3.1

    Bumps scale-info from 1.0.0 to 2.3.1.

    Release notes

    Sourced from scale-info's releases.

    v2.3.1

    Fixed

    v2.3.0

    Added

    • Implement the missing pieces for constructing PortableRegistry dynamically at runtime. This allows languages where static rust types are not available to use it. #164
    • Updated the MSRV to 1.60 #169

    v2.1.2

    What's Changed

    v2.1.1

    Fixed

    v2.1.0

    Added

    Fixed

    v2.0.0

    Changed

    • Upgraded to parity-scale-codec 3.0 (#140)
    • Upgraded to bitvec 1.0 (#137)
    • Minimum Rust version is 1.56.1 for edition 2021 (#132)
    Changelog

    Sourced from scale-info's changelog.

    [2.3.1] - 2022-12-09

    Fixed

    [2.3.0] - 2022-10-27

    Implement the missing pieces for constructing PortableRegistry dynamically at runtime. This allows languages where static rust types are not available to use it.

    [2.2.0] - 2022-09-14

    The minimum Rust version is bumped to 1.60.0 in this release owing to using weak dependency crate features. Otherwise there are no breaking changes.

    Changed

    • Loosen restriction on TypeDefBitSequence::new() so that bitvec isn't required, and try to avoid pulling in bitvec when the std feature is enabled [(#168)](paritytech/scale-info#168)

    [2.1.2] - 2022-05-18

    Fixed

    [2.1.1] - 2022-04-11

    Fixed

    [2.1.0] - 2022-04-11

    Added

    Fixed

    [2.0.1] - 2022-02-24

    Changed

    • Revert bitvec field order to maintain binary compatiblilty

    [2.0.0] - 2022-02-07

    Changed

    • Upgraded to parity-scale-codec 3.0
    • Upgraded to bitvec 1.0
    • Minimum Rust version is 1.56.1 for edition 2021
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 0
  • chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2

    chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump loader-utils from 1.4.0 to 1.4.2

    chore(deps): bump loader-utils from 1.4.0 to 1.4.2

    Bumps loader-utils from 1.4.0 to 1.4.2.

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump futures from 0.3.19 to 0.3.25

    chore(deps): bump futures from 0.3.19 to 0.3.25

    Bumps futures from 0.3.19 to 0.3.25.

    Release notes

    Sourced from futures's releases.

    0.3.25

    • Fix soundness issue in join! and try_join! macros (#2649)
    • Implement Clone for sink::Drain (#2650)

    0.3.24

    • Fix incorrect termination of select_with_strategy streams (#2635)

    0.3.23

    • Work around MSRV increase due to a cargo bug.

    0.3.22

    • Fix Sync impl of BiLockGuard (#2570)
    • Fix partial iteration in FuturesUnordered (#2574)
    • Fix false detection of inner panics in Shared (#2576)
    • Add Mutex::lock_owned and Mutex::try_lock_owned (#2571)
    • Add io::copy_buf_abortable (#2507)
    • Remove Unpin bound from TryStreamExt::into_async_read (#2599)
    • Make run_until_stalled handle self-waking futures (#2593)
    • Use FuturesOrdered in try_join_all (#2556)
    • Fix orderings in LocalPool waker (#2608)
    • Fix stream::Chunk adapters size hints (#2611)
    • Add push_front and push_back to FuturesOrdered (#2591)
    • Deprecate FuturesOrdered::push in favor of FuturesOrdered::push_back (#2591)
    • Performance improvements (#2583, #2626)
    • Documentation improvements (#2579, #2604, #2613)

    0.3.21

    • Fix potential data race in FlattenUnordered that introduced in 0.3.20 (#2566)

    0.3.20

    • Fix stacked borrows violations when -Zmiri-tag-raw-pointers is enabled. This raises MSRV of futures-task to 1.45. (#2548, #2550)
    • Change FuturesUnordered to respect yielding from future (#2551)
    • Add StreamExt::{flatten_unordered, flat_map_unordered} (#2083)
    Changelog

    Sourced from futures's changelog.

    0.3.25 - 2022-10-20

    • Fix soundness issue in join! and try_join! macros (#2649)
    • Implement Clone for sink::Drain (#2650)

    0.3.24 - 2022-08-29

    • Fix incorrect termination of select_with_strategy streams (#2635)

    0.3.23 - 2022-08-14

    • Work around MSRV increase due to a cargo bug.

    0.3.22 - 2022-08-14

    • Fix Sync impl of BiLockGuard (#2570)
    • Fix partial iteration in FuturesUnordered (#2574)
    • Fix false detection of inner panics in Shared (#2576)
    • Add Mutex::lock_owned and Mutex::try_lock_owned (#2571)
    • Add io::copy_buf_abortable (#2507)
    • Remove Unpin bound from TryStreamExt::into_async_read (#2599)
    • Make run_until_stalled handle self-waking futures (#2593)
    • Use FuturesOrdered in try_join_all (#2556)
    • Fix orderings in LocalPool waker (#2608)
    • Fix stream::Chunk adapters size hints (#2611)
    • Add push_front and push_back to FuturesOrdered (#2591)
    • Deprecate FuturesOrdered::push in favor of FuturesOrdered::push_back (#2591)
    • Performance improvements (#2583, #2626)
    • Documentation improvements (#2579, #2604, #2613)

    0.3.21 - 2022-02-06

    • Fix potential data race in FlattenUnordered that introduced in 0.3.20 (#2566)

    0.3.20 - 2022-02-06

    NOTE: This release has been yanked due to a bug fixed in 0.3.21.

    • Fix stacked borrows violations when -Zmiri-tag-raw-pointers is enabled. This raises MSRV of futures-task to 1.45. (#2548, #2550)
    • Change FuturesUnordered to respect yielding from future (#2551)
    • Add StreamExt::{flatten_unordered, flat_map_unordered} (#2083)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 0
Owner
ChainSafe
building the infrastructure for web3
ChainSafe
Forest is an implementation of Filecoin written in Rust.

Forest is an implementation of Filecoin written in Rust. The implementation will take a modular approach to building a full Filecoin node in Rust from the Filecoin Protocol Specification, specifically the virtual machine, blockchain, and node system.

ChainSafe 507 Dec 28, 2022
Substrate blockchain generated with Substrate Startkit

Substrate Node Template A new FRAME-based Substrate node, ready for hacking ?? Getting Started This project contains some configuration files to help

HoangDuong 1 Oct 19, 2021
Substrate blockchain generated with Substrate Startkit

Substrate Node Template A new FRAME-based Substrate node, ready for hacking ?? Getting Started This project contains some configuration files to help

HoangDuong 1 Oct 19, 2021
Substrate blockchain generated with Substrate Startkit

Substrate Node Template A new FRAME-based Substrate node, ready for hacking ?? Getting Started This project contains some configuration files to help

Liam Parry 0 Nov 6, 2021
The Phala Network Blockchain, pRuntime and the bridge.

Phala Blockchain Phala Network is a TEE-Blockchain hybrid architecture implementing Confidential Contract. This repo includes: node/: the main blockch

Phala Network 314 Jan 6, 2023
A value transfer bridge between the Monero blockchain and the Secret Network.

Secret-Monero-Bridge A value transfer bridge between the Monero blockchain and the Secret Network. Proof-of-Concept Video Demonstration: https://ipfs.

null 28 Dec 7, 2022
Terabethia - A Bridge and Messaging Protocol between Ethereum and the Internet Computer.

Terabethia - A Bridge Between Ethereum & the Internet Computer Terabethia is a bridge between Ethereum & the Internet Computer that contracts in both

Psychedelic 36 Dec 26, 2022
Cross-chain bridge message delivery network. We are hiring, [email protected]

Introduction Implementation of a https://darwinia.network node in Rust based on the Substrate framework. This repository contains runtimes for the Dar

Darwinia Network 225 Nov 8, 2022
A bridge between different serde implementations.

serde-bridge   Bridge between serde types Quick Start use anyhow::Result; use serde_bridge::{from_value, into_value, FromValue, IntoValue, Value}; fn

Xuanwo 14 Nov 24, 2022
interBTC A trust-minimized bridge from Bitcoin to Polkadot.

interBTC A trust-minimized bridge from Bitcoin to Polkadot. Explore the specification » Report Bug · Request Feature This repository is hosted on GitH

Interlay 192 Dec 27, 2022
Simple node and rust script to achieve an easy to use bridge between rust and node.js

Node-Rust Bridge Simple rust and node.js script to achieve a bridge between them. Only 1 bridge can be initialized per rust program. But node.js can h

Pure 5 Apr 30, 2023
🤖CyberAI is designed to bridge the world of Cyberpunk 2077 and the power of OpenAI's AI technology.

CyberAI ?? Welcome to the CyberAI project! This plugin for Cyberpunk 2077 enables integration between the videogame and OpenAI API, opening a world of

Kirill Kuzin 19 Jul 28, 2023
Substrate: The platform for blockchain innovators

Substrate · Substrate is a next-generation framework for blockchain innovation ?? . Trying it out Simply go to substrate.dev and follow the installati

Parity Technologies 7.7k Dec 30, 2022
A substrate pallet that enables Manta's decentialized anynonymous payment (DAP) protocol.

This is a pallet that enables decentialized anynonymous payment (DAP) protocol. The best way to use this repo is to invoke it with a manta-runtime, available from either manta-node or cumulus.

Manta Network 27 Nov 23, 2022
Basilisk node - cross-chain liquidity protocol built on Substrate

Basilisk node Local Development Follow these steps to prepare a local Substrate development environment ??️ Simple Setup Install all the required depe

Galactic Council 52 Dec 27, 2022
Substrate Node for Anmol Network

Anmol Substrate Node ?? ??️ ?? Anmol is the First Cross-Chain NFT Toolkit, on Polkadot. Introducing: Moulds NFT Breeding Multi-Chain NFT Migration ink

Anmol Network 12 Aug 28, 2022
Substrate NFT !ink smart contract base

Substrate !ink NFT simple implementation This is a simple working version of base NFT smart contract written using latest (as of this date) !ink 3.0.0

POLK4.NET 14 Dec 3, 2022
Minimal Substrate node configured for smart contracts via pallet-contracts.

substrate-contracts-node This repository contains Substrate's node-template configured to include Substrate's pallet-contracts ‒ a smart contract modu

Parity Technologies 73 Dec 30, 2022
InvArch Pallet Library - IP Infrastructure for Substrate

InvArch-Pallet-Library Intro This repository should contains the Pallets used in the InvArch blockchain, and reviews their relationships and functions

InvArch 20 Dec 18, 2022