diff --git a/packages/hydra-cli/src/templates/scaffold/manifest.yml b/packages/hydra-cli/src/templates/scaffold/manifest.yml index ad973aad6..c977a4dd9 100644 --- a/packages/hydra-cli/src/templates/scaffold/manifest.yml +++ b/packages/hydra-cli/src/templates/scaffold/manifest.yml @@ -1,7 +1,7 @@ -version: '0.1' +version: '3.0' description: Test manifest repository: /~https://github.com/ -hydraVersion: "2" +hydraVersion: "3" dataSource: kind: substrate chain: node-template diff --git a/packages/hydra-e2e-tests/fixtures/manifest.yml b/packages/hydra-e2e-tests/fixtures/manifest.yml index 2c33463ac..c3eb46703 100644 --- a/packages/hydra-e2e-tests/fixtures/manifest.yml +++ b/packages/hydra-e2e-tests/fixtures/manifest.yml @@ -1,7 +1,7 @@ -version: '0.1' +version: '3.0' description: Test manifest repository: /~https://github.com/ -hydraVersion: "2" +hydraVersion: "3" dataSource: kind: substrate chain: node-template diff --git a/packages/hydra-processor/test/fixtures/manifest.yml b/packages/hydra-processor/test/fixtures/manifest.yml index 87167bfec..acf21bf26 100644 --- a/packages/hydra-processor/test/fixtures/manifest.yml +++ b/packages/hydra-processor/test/fixtures/manifest.yml @@ -1,7 +1,7 @@ -version: '0.1' +version: '0.2' description: Test manifest repository: /~https://github.com/ -hydraVersion: "2" +hydraVersion: "3" dataSource: kind: substrate chain: node-template diff --git a/packages/sample/manifest.yml b/packages/sample/manifest.yml index 90523dc6e..38a6879b5 100644 --- a/packages/sample/manifest.yml +++ b/packages/sample/manifest.yml @@ -1,8 +1,8 @@ -version: '0.1' +version: '3.0' description: Sample manifest repository: /~https://github.com/ ## reserved but unused fields -hydraVersion: "2" +hydraVersion: "3" dataSource: kind: substrate chain: node-template @@ -34,19 +34,6 @@ mappings: handler: balancesTransfer filter: specVersion: '[0,)' - # extrinsicHandlers: - # - extrinsic: timestamp.set - # handler: timestampCallV1 - # filter: - # height: '[0, 5]' - # specVersion: '[0,10)' - - # - extrinsic: timestamp.set - # handler: timestampCallV2 - # filter: - # height: '[6, )' - # specVersion: '[11,)' - preBlockHooks: - handler: preHook postBlockHooks: diff --git a/yarn.lock b/yarn.lock index ac52820df..3f5841996 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2005,16 +2005,7 @@ bn.js "^4.11.9" eventemitter3 "^4.0.7" -"@polkadot/keyring@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-6.1.1.tgz#937103e3c98bb92942f91502577fcc3b6bcd4aef" - integrity sha512-gpOJ8L7MyuFe9/bYOJ+0qIXZIqob1IMl1xrsULTlF03ijENv7XvMeUUf6hN8hbxkgEWugow060M7SUnLQ4zTTA== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/util" "6.1.1" - "@polkadot/util-crypto" "6.1.1" - -"@polkadot/keyring@^6.0.5": +"@polkadot/keyring@6.0.5", "@polkadot/keyring@6.1.1", "@polkadot/keyring@^6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-6.0.5.tgz#b684f354476e96c657a7e8d3e5f0c090e1178b31" integrity sha512-v9Tmu+eGZnWpLzxHUj5AIvmfX0uCHWShtF90zvaLvMXLFRWfeuaFnZwdZ+fNkXsrbI0R/w1gRtpFqzsT7QUbVw== @@ -2042,13 +2033,6 @@ dependencies: "@babel/runtime" "^7.13.9" -"@polkadot/networks@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-6.1.1.tgz#7725b75a421e80ad6bc152c6ba0e0b5f82153939" - integrity sha512-QJynYW/S00UT9R59w+RPPhUG7zCQURqCDwyJQWKc+yWxnVacBFKvtokrCbYZIViE1lMY4FvdA6blUT3eYmABYg== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/rpc-core@4.2.1": version "4.2.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-4.2.1.tgz#249f2e8f359450e365b0784d494814c7348e9a3e" @@ -2129,28 +2113,6 @@ tweetnacl "^1.0.3" xxhashjs "^0.2.2" -"@polkadot/util-crypto@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-6.1.1.tgz#dc9ee86656bbaf59b41c5a1cf40fa025b44aaf27" - integrity sha512-xKDqudvMCirQZ4df2PiWEdlNntNn5gUx/2gTNId7MoE4j4y0edLTwiQ6B2EgRCyLxCaIY+sw6Z5NL5ik1NHdcw== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/networks" "6.1.1" - "@polkadot/util" "6.1.1" - "@polkadot/wasm-crypto" "^4.0.2" - "@polkadot/x-randomvalues" "6.1.1" - base-x "^3.0.8" - base64-js "^1.5.1" - blakejs "^1.1.0" - bn.js "^4.11.9" - create-hash "^1.2.0" - elliptic "^6.5.4" - hash.js "^1.1.7" - js-sha3 "^0.8.0" - scryptsy "^2.1.0" - tweetnacl "^1.0.3" - xxhashjs "^0.2.2" - "@polkadot/util@6.0.5", "@polkadot/util@^6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-6.0.5.tgz#aa52995d3fe998eed218d26b243832a7a3e2944d" @@ -2164,19 +2126,6 @@ camelcase "^5.3.1" ip-regex "^4.3.0" -"@polkadot/util@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-6.1.1.tgz#d4ab0bf8f0d38f60b93124e7efb4339c16d0b1a1" - integrity sha512-xdm2UF6SIjW50jnIyzT1+m1sLBjulExDAo+7JnrTZe4OQfUL8JyQzJ3jdy9hFNBHjXkLRENc94DR4HSJ+n3Uyg== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/x-textdecoder" "6.1.1" - "@polkadot/x-textencoder" "6.1.1" - "@types/bn.js" "^4.11.6" - bn.js "^4.11.9" - camelcase "^5.3.1" - ip-regex "^4.3.0" - "@polkadot/wasm-crypto-asmjs@^4.0.2": version "4.0.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.0.2.tgz#f42c353a64e1243841daf90e4bd54eff01a4e3cf" @@ -2200,7 +2149,7 @@ "@polkadot/wasm-crypto-asmjs" "^4.0.2" "@polkadot/wasm-crypto-wasm" "^4.0.2" -"@polkadot/x-fetch@^6.0.5": +"@polkadot/x-fetch@6.0.5", "@polkadot/x-fetch@^6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-6.0.5.tgz#b6c90c478f9951ab1f9c835d48869c669c45120e" integrity sha512-LuyIxot8pLnYaYsR1xok7Bjm+s7wxYe27Y66THea6bDL3CrBPQdj74F9i0OIxD1GB+qJqh4mDApiGX3COqssvg== @@ -2219,15 +2168,6 @@ "@types/node-fetch" "^2.5.8" node-fetch "^2.6.1" -"@polkadot/x-global@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-6.1.1.tgz#c9dab736cb0ff3274bebabeb5a9f1c57d126b73c" - integrity sha512-h/5K2i8S7oteQITD2aF3Scxd7uOPH4HaBk/DDiM7M89TvzMp+QLISkBapK2boAKRejceKULuKlFVKFGzryF1NA== - dependencies: - "@babel/runtime" "^7.13.10" - "@types/node-fetch" "^2.5.10" - node-fetch "^2.6.1" - "@polkadot/x-randomvalues@6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-6.0.5.tgz#32aa5e670acf3ab13af281f9c0871c279de24b0a" @@ -2236,15 +2176,7 @@ "@babel/runtime" "^7.13.9" "@polkadot/x-global" "6.0.5" -"@polkadot/x-randomvalues@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-6.1.1.tgz#e57a31bc51513c88fd8228a24a154b5e426dcff1" - integrity sha512-b6IFmV64YdyWwWYnnqD/piQALRA4Xs/eQklBaldoBzg/INTWx8sA3M43HUOZlmcY4TLNAOG8mBxzrDmsFj3Ezw== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/x-global" "6.1.1" - -"@polkadot/x-rxjs@^6.0.5": +"@polkadot/x-rxjs@6.0.5", "@polkadot/x-rxjs@^6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/x-rxjs/-/x-rxjs-6.0.5.tgz#829b12f225a4252ae16e405fe7876cce390eabd6" integrity sha512-nwMaP69/RzdXbPn8XypIRagMpW46waSraQq4/tGb4h+/Qob+RHxCT68UHKz1gp7kzxhrf85LanE9410A6EYjRw== @@ -2260,14 +2192,6 @@ "@babel/runtime" "^7.13.9" "@polkadot/x-global" "6.0.5" -"@polkadot/x-textdecoder@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-6.1.1.tgz#b19bfc375224c8c4069a6d69bc813419b1715942" - integrity sha512-z4a91pNkD6WNDp+Jl4nf6kLM5ZM1x5Zmrrs2qDmX3WP+/okJUb5J+RYXSDnPnKeuoyQHHV0cNuWos5nQZxmmrA== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/x-global" "6.1.1" - "@polkadot/x-textencoder@6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-6.0.5.tgz#fc851259de97a98f3417e51807c1f5ebe265fdf0" @@ -2276,15 +2200,7 @@ "@babel/runtime" "^7.13.9" "@polkadot/x-global" "6.0.5" -"@polkadot/x-textencoder@6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-6.1.1.tgz#1963034091398e93465ec2709d68ced88008a62e" - integrity sha512-NLL9HxigxKeI30X89z40m6DWu1RrL9mZvXwLbl5Se1ditNsOK5/3+gBSlLqZiuB7LuY0YJCCbkqMSp/mAANglA== - dependencies: - "@babel/runtime" "^7.13.10" - "@polkadot/x-global" "6.1.1" - -"@polkadot/x-ws@^6.0.5": +"@polkadot/x-ws@6.0.5", "@polkadot/x-ws@^6.0.5": version "6.0.5" resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-6.0.5.tgz#bafab6004d88d9273478332a3a040bfef3647619" integrity sha512-J2vUfDjWIwEB/FSIXKZxER2flWqRvWcxvAaN+w6dhxJw8BKl+NYKN8QRrlhcDvbk/PWEEtdjthwV3lyOoeGDLA== @@ -2819,7 +2735,7 @@ resolved "https://registry.yarnpkg.com/@types/node-emoji/-/node-emoji-1.8.1.tgz#689cb74fdf6e84309bcafce93a135dfecd01de3f" integrity sha512-0fRfA90FWm6KJfw6P9QGyo0HDTCmthZ7cWaBQndITlaWLTZ6njRyKwrwpzpg+n6kBXBIGKeUHEQuBx7bphGJkA== -"@types/node-fetch@2.5.10", "@types/node-fetch@^2.5.10", "@types/node-fetch@^2.5.8": +"@types/node-fetch@2.5.10", "@types/node-fetch@^2.5.8": version "2.5.10" resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.10.tgz#9b4d4a0425562f9fcea70b12cb3fcdd946ca8132" integrity sha512-IpkX0AasN44hgEad0gEF/V6EgR5n69VEqPEgnmoM8GsIGro3PowbWs4tR6IhxUTyPLpOn+fiGG6nrQhcmoCuIQ== @@ -11506,10 +11422,10 @@ p-forever@~2.1.0: resolved "https://registry.yarnpkg.com/p-forever/-/p-forever-2.1.0.tgz#3b8d1de4b572c9c1f8ecf0346cc79e61d024b9ec" integrity sha512-kqZrNBsD8fUPCpZLYJoHTiONQVrdkA2nKwSsTfIr5h7P8jGpSy+Vzkxu6nVcZcz3c/rSx/Ys3AACd/BkMKvqbw== -p-immediate@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-immediate/-/p-immediate-4.0.0.tgz#f7f10ad926abb8addd818dd4fb969d3ad5115606" - integrity sha512-vCA0lcNt/RYuzoxuTrsmOIq96fkJ92O5sNU/4xh3Bz29Ofhq+Hrbb/fjOeLqXnT6zIjCn1w2bW5+z6ZXgsmeZQ== +p-immediate@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/p-immediate/-/p-immediate-3.2.0.tgz#0cc2d006046a5d07f4e6d710ba589f475bc00f34" + integrity sha512-XMP80yYZPigpDbhOwICi1Vk2Tf4e42xQ6NIRpKnumZowvJh4ZgFOQuqUB0+hWY5PD9USrKY9rXOdSawnzr99+g== p-is-promise@^2.0.0: version "2.1.0"