diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 000000000..a872639f8 --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,22 @@ +{{ range .Versions }} + +## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) + +{{ range .CommitGroups -}} +### {{ .Title }} + +{{ range .Commits -}} +* {{ .Subject }} +{{ end }} +{{ end -}} + +{{- if .NoteGroups -}} +{{ range .NoteGroups -}} +### {{ .Title }} + +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} \ No newline at end of file diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 000000000..a0f3b6f75 --- /dev/null +++ b/.chglog/config.yml @@ -0,0 +1,27 @@ +style: github +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://github.com/interlay/polkabtc-clients +options: + commits: + # filters: + # Type: + # - feat + # - fix + # - perf + # - refactor + commit_groups: + # title_maps: + # feat: Features + # fix: Bug Fixes + # perf: Performance Improvements + # refactor: Code Refactoring + header: + pattern: "^(\\w*)\\:\\s(.*)$" + pattern_maps: + - Type + - Subject + notes: + keywords: + - BREAKING CHANGE \ No newline at end of file diff --git a/.deploy/charts/README.md b/.deploy/charts/README.md deleted file mode 100644 index aa84bd8e9..000000000 --- a/.deploy/charts/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# PolkaBTC Kubernetes Helm Charts - -A collection of Helm Charts to deploy specialized PolkaBTC services to a Kubernetes cluster. - -## Staked Relayer - -### Install - -To install the chart with the release name `my-release` into namespace `my-namespace` from within this directory: - -```bash -helm install --namespace my-namespace my-release staked-relayer/ -``` - -### Upgrade - -To upgrade the `my-release` deployment: - -```bash -helm upgrade --namespace my-namespace my-release staked-relayer/ -``` diff --git a/.deploy/charts/oracle/.helmignore b/.deploy/charts/oracle/.helmignore deleted file mode 100644 index 0e8a0eb36..000000000 --- a/.deploy/charts/oracle/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/.deploy/charts/oracle/Chart.yaml b/.deploy/charts/oracle/Chart.yaml deleted file mode 100644 index 78d76339a..000000000 --- a/.deploy/charts/oracle/Chart.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v2 -name: oracle -description: Helm chart for the Oracle - -type: application -version: 0.1.0 -appVersion: 1.16.0 diff --git a/.deploy/charts/oracle/templates/_helpers.tpl b/.deploy/charts/oracle/templates/_helpers.tpl deleted file mode 100644 index b046476ea..000000000 --- a/.deploy/charts/oracle/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oracle.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oracle.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oracle.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "oracle.labels" -}} -helm.sh/chart: {{ include "oracle.chart" . }} -{{ include "oracle.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "oracle.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oracle.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oracle.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "oracle.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/.deploy/charts/oracle/templates/_settings.yaml b/.deploy/charts/oracle/templates/_settings.yaml deleted file mode 100644 index e622d19fe..000000000 --- a/.deploy/charts/oracle/templates/_settings.yaml +++ /dev/null @@ -1,13 +0,0 @@ -{{- define "settings" -}} -{{- range $.Values.environment.secrets }} -- name: {{ .name }} - valueFrom: - secretKeyRef: - name: {{ .secret }} - key: {{ .key }} -{{- end }} -{{- range $key, $val := $.Values.environment.inline }} -- name: {{ $key }} - value: {{ $val | quote }} -{{- end }} -{{- end -}} \ No newline at end of file diff --git a/.deploy/charts/oracle/templates/deployment.yaml b/.deploy/charts/oracle/templates/deployment.yaml deleted file mode 100644 index 319b88edd..000000000 --- a/.deploy/charts/oracle/templates/deployment.yaml +++ /dev/null @@ -1,55 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "oracle.fullname" . }} - labels: - {{- include "oracle.labels" . | nindent 4 }} -spec: -{{- if not .Values.autoscaling.enabled }} - replicas: {{ .Values.replicaCount }} -{{- end }} - selector: - matchLabels: - {{- include "oracle.selectorLabels" . | nindent 6 }} - template: - metadata: - {{- with .Values.podAnnotations }} - annotations: - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "oracle.selectorLabels" . | nindent 8 }} - spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - serviceAccountName: {{ include "oracle.serviceAccountName" . }} - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - containers: - - name: {{ .Chart.Name }} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - env: - {{- include "settings" $ | nindent 10 }} - command: - - oracle - - --polka-btc-url - - "ws://parachain-polkabtc-rpc:9944" - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} diff --git a/.deploy/charts/oracle/templates/serviceaccount.yaml b/.deploy/charts/oracle/templates/serviceaccount.yaml deleted file mode 100644 index e3a5a4010..000000000 --- a/.deploy/charts/oracle/templates/serviceaccount.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.serviceAccount.create -}} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "oracle.serviceAccountName" . }} - labels: - {{- include "oracle.labels" . | nindent 4 }} - {{- with .Values.serviceAccount.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end }} diff --git a/.deploy/charts/oracle/values.yaml b/.deploy/charts/oracle/values.yaml deleted file mode 100644 index 65f1035ef..000000000 --- a/.deploy/charts/oracle/values.yaml +++ /dev/null @@ -1,81 +0,0 @@ -replicaCount: 1 - -image: - repository: "registry.gitlab.com/interlay/polkabtc-clients" - pullPolicy: Always - tag: "oracle-latest" - -imagePullSecrets: - - name: regcred - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - -podAnnotations: {} - -podSecurityContext: {} - # fsGroup: 2000 - -securityContext: {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -service: - type: ClusterIP - port: 80 - -ingress: - enabled: false - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: [] - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - -nodeSelector: {} - -tolerations: [] - -affinity: {} - -environment: - inline: - RUST_LOG: info - secrets: [] diff --git a/.deploy/charts/staked-relayer/.helmignore b/.deploy/charts/staked-relayer/.helmignore deleted file mode 100644 index 0e8a0eb36..000000000 --- a/.deploy/charts/staked-relayer/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/.deploy/charts/staked-relayer/Chart.lock b/.deploy/charts/staked-relayer/Chart.lock deleted file mode 100644 index 6bc12af8d..000000000 --- a/.deploy/charts/staked-relayer/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: parachain - repository: file://../parachain - version: 0.1.0 -digest: sha256:7765173c3bd30d0dea2f1731948a5f7bd5d4a3d8e06374192a3aedcd83a7c211 -generated: "2020-09-29T12:09:19.718768236+01:00" diff --git a/.deploy/charts/staked-relayer/Chart.yaml b/.deploy/charts/staked-relayer/Chart.yaml deleted file mode 100644 index 275b6277e..000000000 --- a/.deploy/charts/staked-relayer/Chart.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v2 -name: staked-relayer -description: Helm chart for the Staked Relayer client - -type: application - -version: 0.1.0 - -appVersion: 1.16.0 diff --git a/.deploy/charts/staked-relayer/templates/_helpers.tpl b/.deploy/charts/staked-relayer/templates/_helpers.tpl deleted file mode 100644 index 96ca6a4e1..000000000 --- a/.deploy/charts/staked-relayer/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "staked-relayer.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "staked-relayer.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "staked-relayer.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "staked-relayer.labels" -}} -helm.sh/chart: {{ include "staked-relayer.chart" . }} -{{ include "staked-relayer.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "staked-relayer.selectorLabels" -}} -app.kubernetes.io/name: {{ include "staked-relayer.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "staked-relayer.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "staked-relayer.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/.deploy/charts/staked-relayer/templates/_settings.yaml b/.deploy/charts/staked-relayer/templates/_settings.yaml deleted file mode 100644 index e622d19fe..000000000 --- a/.deploy/charts/staked-relayer/templates/_settings.yaml +++ /dev/null @@ -1,13 +0,0 @@ -{{- define "settings" -}} -{{- range $.Values.environment.secrets }} -- name: {{ .name }} - valueFrom: - secretKeyRef: - name: {{ .secret }} - key: {{ .key }} -{{- end }} -{{- range $key, $val := $.Values.environment.inline }} -- name: {{ $key }} - value: {{ $val | quote }} -{{- end }} -{{- end -}} \ No newline at end of file diff --git a/.deploy/charts/staked-relayer/templates/deployment.yaml b/.deploy/charts/staked-relayer/templates/deployment.yaml deleted file mode 100644 index e573da8bd..000000000 --- a/.deploy/charts/staked-relayer/templates/deployment.yaml +++ /dev/null @@ -1,72 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "staked-relayer.fullname" . }} - labels: - {{- include "staked-relayer.labels" . | nindent 4 }} -spec: -{{- if not .Values.autoscaling.enabled }} - replicas: {{ .Values.replicaCount }} -{{- end }} - selector: - matchLabels: - {{- include "staked-relayer.selectorLabels" . | nindent 6 }} - template: - metadata: - {{- with .Values.podAnnotations }} - annotations: - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "staked-relayer.selectorLabels" . | nindent 8 }} - spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - serviceAccountName: {{ include "staked-relayer.serviceAccountName" . }} - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - containers: - - name: {{ .Chart.Name }} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - env: - {{- include "settings" $ | nindent 10 }} - command: - - staked-relayer - - --polka-btc-url - - "ws://parachain-polkabtc-rpc:9944" - - --http-addr - - "[::0]:{{ .Values.service.port }}" - ports: - - name: http-rpc - containerPort: {{ .Values.service.port }} - readinessProbe: - httpGet: - path: /health - port: http-rpc - initialDelaySeconds: 10 - periodSeconds: 10 - livenessProbe: - httpGet: - path: /health - port: http-rpc - initialDelaySeconds: 10 - periodSeconds: 10 - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} diff --git a/.deploy/charts/staked-relayer/templates/service.yaml b/.deploy/charts/staked-relayer/templates/service.yaml deleted file mode 100644 index 31ef08b16..000000000 --- a/.deploy/charts/staked-relayer/templates/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "staked-relayer.fullname" . }} - labels: - {{- include "staked-relayer.labels" . | nindent 4 }} -spec: - type: {{ .Values.service.type }} - ports: - - port: {{ .Values.service.port }} - {{ if eq .Values.service.type "NodePort" -}} - nodePort: {{ .Values.service.nodePort }} - {{- end }} - name: http-rpc - selector: - {{- include "staked-relayer.selectorLabels" . | nindent 4 }} diff --git a/.deploy/charts/staked-relayer/templates/serviceaccount.yaml b/.deploy/charts/staked-relayer/templates/serviceaccount.yaml deleted file mode 100644 index 54c391aa1..000000000 --- a/.deploy/charts/staked-relayer/templates/serviceaccount.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.serviceAccount.create -}} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "staked-relayer.serviceAccountName" . }} - labels: - {{- include "staked-relayer.labels" . | nindent 4 }} - {{- with .Values.serviceAccount.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end }} diff --git a/.deploy/charts/staked-relayer/values.yaml b/.deploy/charts/staked-relayer/values.yaml deleted file mode 100644 index 07823a175..000000000 --- a/.deploy/charts/staked-relayer/values.yaml +++ /dev/null @@ -1,85 +0,0 @@ -replicaCount: 1 - -image: - repository: "registry.gitlab.com/interlay/polkabtc-clients" - pullPolicy: Always - tag: "staked-relayer-latest" - -imagePullSecrets: - - name: regcred - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - -podAnnotations: {} - -podSecurityContext: {} - # fsGroup: 2000 - -securityContext: {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -service: - type: NodePort - nodePort: 32700 - port: 3030 - -ingress: - enabled: false - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: [] - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - -nodeSelector: {} - -tolerations: [] - -affinity: {} - -environment: - inline: - RUST_LOG: info - BITCOIN_RPC_URL: http://bitcoin-bitcoind:18332 - BITCOIN_RPC_USER: rpcuser - BITCOIN_RPC_PASS: rpcpassword - secrets: [] diff --git a/.gitignore b/.gitignore index ea7856e21..4dcf66312 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ **.tgz **/.vscode/ event-logs +faucet/kv \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 63525531c..000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,116 +0,0 @@ -image: "registry.gitlab.com/interlay/containers/rust-base:nightly-2021-01-25" - -variables: - CARGO_HOME: $CI_PROJECT_DIR/.cargo - -stages: - - test - - build - - deploy - -.rust-before-script: &rustup_sscache - before_script: - - rustup show - - rustc --version - - rustfmt --version - - cargo --version - - SCCACHE_START_SERVER=1 SCCACHE_IDLE_TIMEOUT=0 sccache - - sccache -s - -.docker-script: &build_docker - image: - name: gcr.io/kaniko-project/executor:debug - entrypoint: [""] - script: - - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - - | - /kaniko/executor \ - --build-arg BINARY=${IMAGE} \ - --context ${CI_PROJECT_DIR} \ - --dockerfile ${CI_PROJECT_DIR}/.deploy/Dockerfile \ - --destination ${CI_REGISTRY_IMAGE}/${IMAGE}:${CI_COMMIT_SHORT_SHA} \ - --destination ${CI_REGISTRY_IMAGE}/${IMAGE}:${CI_COMMIT_REF_SLUG} - -.only-refs: &only_refs - only: - - tags - - master - - dev - - kaniko # debug - -test-clients: - stage: test - variables: - CARGO_HOME: $CI_PROJECT_DIR/.cargo - RUSTC_WRAPPER: /usr/local/bin/sccache - SCCACHE_GCS_RW_MODE: READ_WRITE - <<: *rustup_sscache - script: - - cargo fmt -- --check - - cargo check --all - - cargo test --all - - - sccache -s - cache: - key: cargo - paths: - - .cargo - only: - - merge_requests - -build-clients: - stage: build - variables: - CARGO_HOME: $CI_PROJECT_DIR/.cargo - RUSTC_WRAPPER: /usr/local/bin/sccache - SCCACHE_GCS_RW_MODE: READ_WRITE - <<: *rustup_sscache - <<: *only_refs - script: - - cargo build --workspace --release - - sccache -s - artifacts: - name: "${CI_COMMIT_REF_SLUG}" - paths: - - target/release/staked-relayer - - target/release/oracle - - target/release/vault - - target/release/testdata-gen - - target/release/faucet - - -docker-publish-staked-relayer: - stage: deploy - variables: - IMAGE: staked-relayer - <<: *build_docker - <<: *only_refs - -docker-publish-oracle: - stage: deploy - variables: - IMAGE: oracle - <<: *build_docker - <<: *only_refs - -docker-publish-vault: - stage: deploy - variables: - IMAGE: vault - <<: *build_docker - <<: *only_refs - -docker-publish-testdata-gen: - stage: deploy - variables: - IMAGE: testdata-gen - <<: *build_docker - <<: *only_refs - -docker-publish-faucet: - stage: deploy - variables: - IMAGE: faucet - <<: *build_docker - <<: *only_refs - diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 000000000..a77308f50 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,11 @@ +# https://rust-lang.github.io/rustfmt/ + +hard_tabs = false +max_width = 120 +edition = "2018" +wrap_comments = true +comment_width = 120 +imports_granularity = "Crate" + +# TODO: https://github.com/rust-lang/rustfmt/issues/3382#issuecomment-536034758 +blank_lines_lower_bound = 0 \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 04065b359..286164128 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,9 +23,9 @@ dependencies = [ [[package]] name = "adler" -version = "0.2.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aead" @@ -81,12 +81,6 @@ dependencies = [ "opaque-debug 0.3.0", ] -[[package]] -name = "ahash" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217" - [[package]] name = "ahash" version = "0.4.7" @@ -175,6 +169,16 @@ dependencies = [ "syn", ] +[[package]] +name = "async-attributes" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" +dependencies = [ + "quote", + "syn", +] + [[package]] name = "async-channel" version = "1.6.1" @@ -276,12 +280,13 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9f06685bad74e0570f5213741bea82158279a4103d988e57bfada11ad230341" dependencies = [ + "async-attributes", "async-channel", "async-global-executor", "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.1", + "crossbeam-utils 0.8.3", "futures-channel", "futures-core", "futures-io", @@ -292,7 +297,7 @@ dependencies = [ "memchr", "num_cpus", "once_cell", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "pin-utils", "slab", "wasm-bindgen-futures", @@ -306,21 +311,22 @@ checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" [[package]] name = "async-tls" -version = "0.6.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce6977f57fa68da77ffe5542950d47e9c23d65f5bc7cb0a9f8700996913eec7" +checksum = "2f23d769dbf1838d5df5156e7b1ad404f4c463d1ac2c6aeb6cd943630f8a8400" dependencies = [ - "futures 0.3.12", - "rustls 0.16.0", + "futures-core", + "futures-io", + "rustls 0.19.0", "webpki", - "webpki-roots 0.17.0", + "webpki-roots", ] [[package]] name = "async-trait" -version = "0.1.42" +version = "0.1.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d3a45e77e34375a7923b1e8febb049bb011f064714a8e17a1a616fef01da13d" +checksum = "36ea56748e10732c49404c153638a15ec3d6211ec5ff35d9bb20e13b93576adf" dependencies = [ "proc-macro2", "quote", @@ -337,7 +343,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", ] [[package]] @@ -350,7 +356,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", ] [[package]] @@ -440,21 +446,6 @@ dependencies = [ "safemem", ] -[[package]] -name = "base64" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" -dependencies = [ - "byteorder", -] - -[[package]] -name = "base64" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" - [[package]] name = "base64" version = "0.12.3" @@ -475,9 +466,9 @@ checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1" [[package]] name = "bincode" -version = "1.3.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d" +checksum = "d175dfa69e619905c4c3cdb7c3c203fa3bdd5d51184e3afdb2742c0280493772" dependencies = [ "byteorder", "serde", @@ -509,15 +500,35 @@ dependencies = [ [[package]] name = "bitcoin" -version = "0.2.0" +version = "0.5.0" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" +dependencies = [ + "bitcoin_hashes 0.7.6", + "frame-support", + "hex 0.4.3", + "impl-serde", + "parity-scale-codec", + "primitive-types", + "secp256k1", + "serde", + "sha2 0.8.2", + "sp-core", + "sp-std", + "spin 0.7.1", +] + +[[package]] +name = "bitcoin" +version = "0.5.0" dependencies = [ "async-trait", "backoff", - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "bitcoincore-rpc", "clap 3.0.0-beta.2", - "futures 0.3.12", - "hex 0.4.2", + "futures 0.3.13", + "hex 0.4.3", + "hyper 0.10.16", "log 0.4.14", "mockall", "num", @@ -529,25 +540,6 @@ dependencies = [ "tokio 0.2.25", ] -[[package]] -name = "bitcoin" -version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" -dependencies = [ - "bitcoin_hashes 0.7.6", - "frame-support", - "hex 0.4.2", - "impl-serde", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", - "secp256k1", - "serde", - "sha2 0.8.2", - "sp-core", - "sp-std", - "spin 0.7.1", -] - [[package]] name = "bitcoin" version = "0.26.0" @@ -605,9 +597,9 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bitvec" -version = "0.20.1" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" +checksum = "1f682656975d3a682daff957be4ddeb65d6ad656737cd821f2d00685ae466af1" dependencies = [ "funty", "radium", @@ -682,7 +674,7 @@ dependencies = [ "block-padding 0.1.5", "byte-tools", "byteorder", - "generic-array 0.12.3", + "generic-array 0.12.4", ] [[package]] @@ -733,12 +725,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "bs58" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "476e9cd489f9e121e02ffa6014a8ef220ecb15c05ed23fc34cca13925dc283fb" - [[package]] name = "bs58" version = "0.4.0" @@ -757,7 +743,7 @@ dependencies = [ [[package]] name = "btc-parachain" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "btc-parachain-rpc", "btc-parachain-runtime", @@ -767,7 +753,7 @@ dependencies = [ "funty", "hex-literal 0.2.1", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-chain-spec", "sc-cli", "sc-service", @@ -786,7 +772,7 @@ dependencies = [ [[package]] name = "btc-parachain-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "btc-parachain-runtime", "jsonrpc-core 15.1.0", @@ -813,7 +799,7 @@ dependencies = [ [[package]] name = "btc-parachain-runtime" version = "0.5.1" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "btc-relay", "collateral", @@ -849,7 +835,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parachain-info", "parachain-tokens", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-parachain", "redeem", "refund", @@ -883,7 +869,7 @@ dependencies = [ [[package]] name = "btc-parachain-service" version = "0.5.1" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "btc-parachain-rpc", "btc-parachain-runtime", @@ -925,16 +911,16 @@ dependencies = [ [[package]] name = "btc-relay" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "frame-benchmarking", "frame-support", "frame-system", - "hex 0.4.2", + "hex 0.4.3", "pallet-timestamp", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "security", "serde", "sla", @@ -942,7 +928,6 @@ dependencies = [ "sp-core", "sp-io", "sp-std", - "util", ] [[package]] @@ -956,15 +941,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099e596ef14349721d9016f6b80dd3419ea1bf289ab9b44df8e4dfd3a005d5d9" - -[[package]] -name = "byte-slice-cast" -version = "0.3.5" +version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0a5e3906bcbf133e33c1d4d95afc664ad37fbdb9f6568d8043e7ea8c27d93d3" +checksum = "63396b8a4b9de3f4fdfb320ab6080762242f66a8ef174c49d8e19b674db4cdbe" [[package]] name = "byte-slice-cast" @@ -980,9 +959,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "byteorder" -version = "1.4.2" +version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" [[package]] name = "bytes" @@ -1037,9 +1016,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.66" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48" +checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd" dependencies = [ "jobserver", ] @@ -1103,9 +1082,9 @@ dependencies = [ [[package]] name = "cid" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d88f30b1e74e7063df5711496f3ee6e74a9735d62062242d70cddf77717f18e" +checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768" dependencies = [ "multibase", "multihash", @@ -1191,12 +1170,12 @@ dependencies = [ [[package]] name = "collateral" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", "frame-system", "pallet-balances", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", ] @@ -1209,12 +1188,6 @@ dependencies = [ "cache-padded", ] -[[package]] -name = "const_fn" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b9d6de7f49e22cf97ad17fc4036ece69300032f45f78f30b4a4482cdc3f4a6" - [[package]] name = "constant_time_eq" version = "0.1.5" @@ -1385,7 +1358,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.1", + "crossbeam-utils 0.8.3", ] [[package]] @@ -1406,8 +1379,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" dependencies = [ "cfg-if 1.0.0", - "crossbeam-epoch 0.9.1", - "crossbeam-utils 0.8.1", + "crossbeam-epoch 0.9.3", + "crossbeam-utils 0.8.3", ] [[package]] @@ -1427,13 +1400,12 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1aaa739f95311c2c7887a76863f500026092fb1dce0161dab577e559ef3569d" +checksum = "2584f639eb95fea8c798496315b297cf81b9b58b6d30ab066a75455333cf4b12" dependencies = [ "cfg-if 1.0.0", - "const_fn", - "crossbeam-utils 0.8.1", + "crossbeam-utils 0.8.3", "lazy_static", "memoffset 0.6.1", "scopeguard", @@ -1463,9 +1435,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.1" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d" +checksum = "e7e9d99fa91428effe99c5c6d4634cdeba32b8cf784fc428a2a687f61a952c49" dependencies = [ "autocfg 1.0.1", "cfg-if 1.0.0", @@ -1484,7 +1456,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" dependencies = [ - "generic-array 0.12.3", + "generic-array 0.12.4", "subtle 1.0.0", ] @@ -1507,6 +1479,15 @@ dependencies = [ "sct", ] +[[package]] +name = "ct-logs" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" +dependencies = [ + "sct", +] + [[package]] name = "ctor" version = "0.1.19" @@ -1531,17 +1512,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#0a0dc9b80b62a8c0591f4c8b12cf7af2a9263ae3" +source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#24b1ee6bd1d96f255889f167e59ef9c9399a6305" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", - "frame-executive", + "environmental", "frame-support", "frame-system", "hash-db", + "log 0.4.14", "memory-db", "pallet-balances", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-parachain", "serde", "sp-core", @@ -1559,23 +1541,25 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm-handler" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#0a0dc9b80b62a8c0591f4c8b12cf7af2a9263ae3" +source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#24b1ee6bd1d96f255889f167e59ef9c9399a6305" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "sp-std", "xcm", + "xcm-executor", ] [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#0a0dc9b80b62a8c0591f4c8b12cf7af2a9263ae3" +source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#24b1ee6bd1d96f255889f167e59ef9c9399a6305" dependencies = [ "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain", "polkadot-primitives", @@ -1587,10 +1571,10 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#0a0dc9b80b62a8c0591f4c8b12cf7af2a9263ae3" +source = "git+https://github.com/paritytech/cumulus?branch=rococo-v1#24b1ee6bd1d96f255889f167e59ef9c9399a6305" dependencies = [ "cumulus-primitives-core", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-client-api", "sp-api", "sp-core", @@ -1677,7 +1661,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" dependencies = [ - "generic-array 0.12.3", + "generic-array 0.12.4", ] [[package]] @@ -1916,8 +1900,8 @@ dependencies = [ "fixed-hash 0.7.0", "impl-rlp", "impl-serde", - "primitive-types 0.9.0", - "uint 0.9.0", + "primitive-types", + "uint", ] [[package]] @@ -1929,7 +1913,7 @@ checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59" [[package]] name = "exchange-rate-oracle" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "collateral", "frame-benchmarking", @@ -1937,7 +1921,7 @@ dependencies = [ "frame-system", "pallet-balances", "pallet-timestamp", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "security", "serde", "sp-arithmetic", @@ -1946,7 +1930,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", ] [[package]] @@ -1955,7 +1938,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", ] [[package]] @@ -2003,29 +1986,21 @@ dependencies = [ [[package]] name = "faucet" -version = "0.2.0" +version = "0.5.0" dependencies = [ - "bitcoin 0.2.0", - "btc-parachain", - "btc-parachain-service", + "async-trait", "chrono", "clap 3.0.0-beta.2", "env_logger 0.6.2", - "futures 0.3.12", - "hex 0.4.2", - "jsonrpc-http-server 16.0.0", - "jsonrpsee", + "hex 0.4.3", + "jsonrpc-http-server 17.0.0", "kv", "log 0.4.14", - "parity-scale-codec 2.0.0", - "pin-project-lite 0.2.4", + "parity-scale-codec", "runtime", "serde", "serde_json", - "sp-core", "sp-keyring", - "substrate-subxt-client", - "tempdir", "thiserror", "tokio 0.2.25", ] @@ -2042,14 +2017,14 @@ dependencies = [ [[package]] name = "fee" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "collateral", "frame-benchmarking", "frame-support", "frame-system", "pallet-balances", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sla", "sp-arithmetic", @@ -2058,7 +2033,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", ] [[package]] @@ -2078,11 +2052,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6447e2f8178843749e8c8003206def83ec124a7859475395777a28b5338647c" dependencies = [ "either", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "log 0.4.14", "num-traits", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", ] @@ -2162,16 +2136,16 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", ] [[package]] name = "form_urlencoded" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00" +checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" dependencies = [ "matches", "percent-encoding 2.1.0", @@ -2185,14 +2159,15 @@ checksum = "69a039c3498dc930fe810151a34ba0c1c70b02b8625035592e74432f678591f2" [[package]] name = "frame-benchmarking" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +version = "3.1.0" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", "linregress", - "parity-scale-codec 2.0.0", - "paste 1.0.4", + "log 0.4.14", + "parity-scale-codec", + "paste 1.0.5", "sp-api", "sp-io", "sp-runtime", @@ -2204,13 +2179,13 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "Inflector", "chrono", "frame-benchmarking", "handlebars", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-cli", "sc-client-db", "sc-executor", @@ -2227,11 +2202,11 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-core", "sp-io", @@ -2243,9 +2218,9 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-core", "sp-std", @@ -2254,7 +2229,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "bitflags", "frame-metadata", @@ -2262,8 +2237,8 @@ dependencies = [ "impl-trait-for-tuples", "log 0.4.14", "once_cell", - "parity-scale-codec 2.0.0", - "paste 1.0.4", + "parity-scale-codec", + "paste 1.0.5", "serde", "smallvec 1.6.1", "sp-arithmetic", @@ -2280,7 +2255,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2292,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2304,7 +2279,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "proc-macro2", "quote", @@ -2314,11 +2289,12 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "serde", "sp-core", "sp-io", @@ -2330,12 +2306,12 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-core", "sp-runtime", "sp-std", @@ -2344,9 +2320,9 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", ] @@ -2402,15 +2378,15 @@ checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" [[package]] name = "futures" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed" +checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9052a1a50244d8d5aa9bf55cbc2fb6f357c86cc52e46c62ed390a7180cf150" +checksum = "7f55667319111d593ba876406af7c409c0ebb44dc4be6132a783ccf163ea14c1" dependencies = [ "futures-channel", "futures-core", @@ -2423,9 +2399,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2d31b7ec7efab6eefc7c57233bb10b847986139d88cc2f5a02a1ae6871a1846" +checksum = "8c2dd2df839b57db9ab69c2c9d8f3e8c81984781937fe2807dc6dcf3b2ad2939" dependencies = [ "futures-core", "futures-sink", @@ -2433,9 +2409,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e5145dde8da7d1b3892dad07a9c98fc04bc39892b1ecc9692cf53e2b780a65" +checksum = "15496a72fabf0e62bdc3df11a59a3787429221dd0710ba8ef163d6f7a9112c94" [[package]] name = "futures-cpupool" @@ -2443,7 +2419,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "num_cpus", ] @@ -2453,8 +2429,8 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9" dependencies = [ - "futures 0.1.30", - "futures 0.3.12", + "futures 0.1.31", + "futures 0.3.13", "lazy_static", "log 0.4.14", "parking_lot 0.9.0", @@ -2465,9 +2441,9 @@ dependencies = [ [[package]] name = "futures-executor" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e59fdc009a4b3096bf94f740a0f2424c082521f20a9b08c5c07c48d90fd9b9" +checksum = "891a4b7b96d84d5940084b2a37632dd65deeae662c114ceaa2c879629c9c0ad1" dependencies = [ "futures-core", "futures-task", @@ -2477,9 +2453,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28be053525281ad8259d47e4de5de657b25e7bac113458555bb4b70bc6870500" +checksum = "d71c2c65c57704c32f5241c1223167c2c3294fd34ac020c807ddbe6db287ba59" [[package]] name = "futures-lite" @@ -2492,15 +2468,15 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c287d25add322d9f9abdcdc5927ca398917996600182178774032e9f8258fedd" +checksum = "ea405816a5139fb39af82c2beb921d52143f556038378d6db21183a5c37fbfb7" dependencies = [ "proc-macro-hack", "proc-macro2", @@ -2521,18 +2497,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf5c69029bda2e743fddd0582d1083951d65cc9539aebf8812f36c3491342d6" +checksum = "85754d98985841b7d4f5e8e6fbfa4a4ac847916893ec511a2917ccd8525b8bb3" [[package]] name = "futures-task" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13de07eb8ea81ae445aca7b69f5f7bf15d7bf4912d8ca37d6645c77ae8a58d86" -dependencies = [ - "once_cell", -] +checksum = "fa189ef211c15ee602667a6fcfe1c1fd9e07d42250d2156382820fba33c9df80" [[package]] name = "futures-timer" @@ -2548,11 +2521,11 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632a8cd0f2a4b3fdea1657f08bde063848c3bd00f9bbf6e256b8be78802e624b" +checksum = "1812c7ab8aedf8d6f2701a43e1243acdbcc2b36ab26e2ad421eb99ac963d96d1" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -2560,7 +2533,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -2584,18 +2557,18 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "generic-array" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" +checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" dependencies = [ "typenum", ] [[package]] name = "generic-array" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed1e761351b56f54eb9dcd0cfaca9fd0daecf93918e1cfc01c8a3d26ee7adcd" +checksum = "f797e67af32588215eaaab8327027ee8e71b9dd0b2b26996aedf20c030fce309" dependencies = [ "typenum", ] @@ -2607,7 +2580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817" dependencies = [ "typenum", - "version_check 0.9.2", + "version_check 0.9.3", ] [[package]] @@ -2694,7 +2667,7 @@ dependencies = [ "byteorder", "bytes 0.4.12", "fnv", - "futures 0.1.30", + "futures 0.1.31", "http 0.1.21", "indexmap", "log 0.4.14", @@ -2718,16 +2691,35 @@ dependencies = [ "indexmap", "slab", "tokio 0.2.25", - "tokio-util", + "tokio-util 0.3.1", "tracing", "tracing-futures", ] +[[package]] +name = "h2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d832b01df74254fe364568d6ddc294443f61cbec82816b60904303af87efae78" +dependencies = [ + "bytes 1.0.1", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 0.2.3", + "indexmap", + "slab", + "tokio 1.3.0", + "tokio-util 0.6.4", + "tracing", +] + [[package]] name = "handlebars" -version = "3.5.2" +version = "3.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "964d0e99a61fe9b1b347389b77ebf8b7e1587b70293676aaca7d27e59b9073b2" +checksum = "cdb0867bbc5a3da37a753e78021d5fcf8a4db00e18dd2dd90fd36e24190e162d" dependencies = [ "log 0.4.14", "pest", @@ -2752,23 +2744,13 @@ dependencies = [ "crunchy", ] -[[package]] -name = "hashbrown" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96282e96bfcd3da0d3aa9938bedf1e50df3269b6db08b4876d2da0bb1a0841cf" -dependencies = [ - "ahash 0.3.8", - "autocfg 1.0.1", -] - [[package]] name = "hashbrown" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" dependencies = [ - "ahash 0.4.7", + "ahash", ] [[package]] @@ -2797,9 +2779,9 @@ checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77" [[package]] name = "hex" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" @@ -2859,7 +2841,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b" dependencies = [ "digest 0.8.1", - "generic-array 0.12.3", + "generic-array 0.12.4", "hmac 0.7.1", ] @@ -2892,7 +2874,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "http 0.1.21", "tokio-buf", ] @@ -2907,6 +2889,16 @@ dependencies = [ "http 0.2.3", ] +[[package]] +name = "http-body" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994" +dependencies = [ + "bytes 1.0.1", + "http 0.2.3", +] + [[package]] name = "httparse" version = "1.3.5" @@ -2954,7 +2946,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "futures-cpupool", "h2 0.1.26", "http 0.1.21", @@ -3001,6 +2993,30 @@ dependencies = [ "want 0.3.0", ] +[[package]] +name = "hyper" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8e946c2b1349055e0b72ae281b238baf1a3ea7307c7e9f9d64673bdd9c26ac7" +dependencies = [ + "bytes 1.0.1", + "futures-channel", + "futures-core", + "futures-util", + "h2 0.3.1", + "http 0.2.3", + "http-body 0.4.0", + "httparse", + "httpdate", + "itoa", + "pin-project 1.0.5", + "socket2", + "tokio 1.3.0", + "tower-service", + "tracing", + "want 0.3.0", +] + [[package]] name = "hyper-rustls" version = "0.21.0" @@ -3008,14 +3024,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37743cc83e8ee85eacfce90f2f4102030d9ff0a95244098d781e9bee4a90abb6" dependencies = [ "bytes 0.5.6", - "ct-logs", + "ct-logs 0.7.0", "futures-util", "hyper 0.13.10", "log 0.4.14", "rustls 0.18.1", - "rustls-native-certs", + "rustls-native-certs 0.4.0", "tokio 0.2.25", - "tokio-rustls", + "tokio-rustls 0.14.1", + "webpki", +] + +[[package]] +name = "hyper-rustls" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" +dependencies = [ + "ct-logs 0.8.0", + "futures-util", + "hyper 0.14.4", + "log 0.4.14", + "rustls 0.19.0", + "rustls-native-certs 0.5.0", + "tokio 1.3.0", + "tokio-rustls 0.22.0", "webpki", ] @@ -3082,7 +3115,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b8538953a3f0d0d3868f0a706eb4273535e10d72acb5c82c1c23ae48835c85" dependencies = [ "async-io", - "futures 0.3.12", + "futures 0.3.13", "futures-lite", "if-addrs", "ipnet", @@ -3091,22 +3124,13 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "impl-codec" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be51a921b067b0eaca2fad532d9400041561aa922221cc65f95a85641c6bf53" -dependencies = [ - "parity-scale-codec 1.3.6", -] - [[package]] name = "impl-codec" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df170efa359aebdd5cb7fe78edcc67107748e4737bdca8a8fb40d15ea7a877ed" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", ] [[package]] @@ -3140,12 +3164,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b" +checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" dependencies = [ "autocfg 1.0.1", - "hashbrown 0.9.1", + "hashbrown", "serde", ] @@ -3173,7 +3197,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-timer 2.0.2", ] @@ -3201,9 +3225,9 @@ checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135" [[package]] name = "issue" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "btc-relay", "collateral", "exchange-rate-oracle", @@ -3213,8 +3237,8 @@ dependencies = [ "frame-system", "pallet-balances", "pallet-timestamp", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "refund", "security", "serde", @@ -3226,7 +3250,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", "vault-registry", ] @@ -3256,9 +3279,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.47" +version = "0.3.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cfb73131c35423a367daf8cbd24100af0d077668c8c2943f0e7dd775fef0f65" +checksum = "dc9f84f9b115ce7843d60706df1422a916680bfdfcbdb0447c5614ff9d7e4d78" dependencies = [ "wasm-bindgen", ] @@ -3282,7 +3305,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7" dependencies = [ "failure", - "futures 0.1.30", + "futures 0.1.31", "jsonrpc-core 15.1.0", "jsonrpc-pubsub 15.1.0", "log 0.4.14", @@ -3293,19 +3316,20 @@ dependencies = [ [[package]] name = "jsonrpc-client-transports" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "320acafbc911d7ef8cc056fee6affbed348dc8aaf76709bfda83d3665d092ad4" +checksum = "15b6c6ad01c7354d60de493148c30ac8a82b759e22ae678c8705e9b8e0c566a4" dependencies = [ "derive_more", - "futures 0.1.30", - "futures 0.3.12", - "hyper 0.12.36", - "jsonrpc-core 16.0.0", - "jsonrpc-pubsub 16.0.0", + "futures 0.3.13", + "hyper 0.13.10", + "hyper-tls", + "jsonrpc-core 17.0.0", + "jsonrpc-pubsub 17.0.0", "log 0.4.14", "serde", "serde_json", + "tokio 0.2.25", "url 1.7.2", ] @@ -3315,7 +3339,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "log 0.4.14", "serde", "serde_derive", @@ -3324,11 +3348,11 @@ dependencies = [ [[package]] name = "jsonrpc-core" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a47c4c3ac843f9a4238943f97620619033dadef4b378cd1e8addd170de396b3" +checksum = "07569945133257ff557eb37b015497104cea61a2c9edaf126c1cbd6e8332397f" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", "serde", "serde_derive", @@ -3346,13 +3370,12 @@ dependencies = [ [[package]] name = "jsonrpc-core-client" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "289d049ac6a6c69e8d2023ad420934d236badda8375f1fd9960a2f67beedb42e" +checksum = "7ac9d56dc729912796637c30f475bbf834594607b27740dfea6e5fa7ba40d1f1" dependencies = [ - "futures 0.1.30", - "futures 0.3.12", - "jsonrpc-client-transports 16.0.0", + "futures 0.3.13", + "jsonrpc-client-transports 17.0.0", ] [[package]] @@ -3384,15 +3407,14 @@ dependencies = [ [[package]] name = "jsonrpc-http-server" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf0d9a2b5a7396ea4847b39c2f91504013eaeac8b49681efb5b4bcb0ab27651" +checksum = "eff2303c4f0562afcbd2dae75e3e21815095f8994749a80fbcd365877e44ed64" dependencies = [ - "futures 0.1.30", - "futures 0.3.12", - "hyper 0.12.36", - "jsonrpc-core 16.0.0", - "jsonrpc-server-utils 16.0.0", + "futures 0.3.13", + "hyper 0.13.10", + "jsonrpc-core 17.0.0", + "jsonrpc-server-utils 17.0.0", "log 0.4.14", "net2", "parking_lot 0.11.1", @@ -3428,12 +3450,12 @@ dependencies = [ [[package]] name = "jsonrpc-pubsub" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1132f6d03de286dd21bde88191af63b5189214574f7b9cbac8e0027c732394" +checksum = "0c48dbebce7a9c88ab272a4db7d6478aa4c6d9596e6c086366e89efc4e9ed89e" dependencies = [ - "futures 0.3.12", - "jsonrpc-core 16.0.0", + "futures 0.3.13", + "jsonrpc-core 17.0.0", "lazy_static", "log 0.4.14", "parking_lot 0.11.1", @@ -3459,18 +3481,18 @@ dependencies = [ [[package]] name = "jsonrpc-server-utils" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d199e3780083bd0798911be3cc0543515a57a98e97f6051957af36fb11852939" +checksum = "f4207cce738bf713a82525065b750a008f28351324f438f56b33d698ada95bb4" dependencies = [ - "bytes 0.4.12", - "futures 0.1.30", + "bytes 0.5.6", + "futures 0.3.13", "globset", - "jsonrpc-core 16.0.0", + "jsonrpc-core 17.0.0", "lazy_static", "log 0.4.14", - "tokio 0.1.22", - "tokio-codec", + "tokio 0.2.25", + "tokio-util 0.3.1", "unicase 2.6.0", ] @@ -3489,46 +3511,71 @@ dependencies = [ ] [[package]] -name = "jsonrpsee" -version = "0.1.0" -source = "git+https://github.com/interlay/jsonrpsee?rev=5b35d10b5ae45a1776a8dcf761ecbe8d6e288646#5b35d10b5ae45a1776a8dcf761ecbe8d6e288646" +name = "jsonrpsee-http-client" +version = "0.2.0-alpha.2" +source = "git+https://github.com/interlay/jsonrpsee?rev=1c2ba33#1c2ba33e7d9187d687c9ee5ff219108b23fdc1a2" dependencies = [ - "async-std", - "async-tls", - "bs58 0.3.1", - "bytes 0.5.6", - "fnv", - "futures 0.3.12", - "futures-timer 3.0.2", - "globset", - "hashbrown 0.7.2", - "hyper 0.13.10", - "jsonrpsee-proc-macros", - "lazy_static", + "async-trait", + "futures 0.3.13", + "hyper 0.14.4", + "hyper-rustls 0.22.1", + "jsonrpsee-types", + "jsonrpsee-utils", + "log 0.4.14", + "serde", + "serde_json", + "thiserror", + "unicase 2.6.0", + "url 2.2.1", +] + +[[package]] +name = "jsonrpsee-types" +version = "0.2.0-alpha.2" +source = "git+https://github.com/interlay/jsonrpsee?rev=1c2ba33#1c2ba33e7d9187d687c9ee5ff219108b23fdc1a2" +dependencies = [ + "async-trait", + "futures 0.3.13", "log 0.4.14", - "parking_lot 0.10.2", - "pin-project 0.4.27", - "rand 0.7.3", "serde", "serde_json", "smallvec 1.6.1", - "soketto 0.3.2", "thiserror", - "tokio 0.2.25", +] + +[[package]] +name = "jsonrpsee-utils" +version = "0.2.0-alpha.2" +source = "git+https://github.com/interlay/jsonrpsee?rev=1c2ba33#1c2ba33e7d9187d687c9ee5ff219108b23fdc1a2" +dependencies = [ + "futures 0.3.13", + "globset", + "hyper 0.14.4", + "jsonrpsee-types", + "lazy_static", + "log 0.4.14", "unicase 2.6.0", - "url 2.2.0", - "webpki", ] [[package]] -name = "jsonrpsee-proc-macros" -version = "1.0.0" -source = "git+https://github.com/interlay/jsonrpsee?rev=5b35d10b5ae45a1776a8dcf761ecbe8d6e288646#5b35d10b5ae45a1776a8dcf761ecbe8d6e288646" +name = "jsonrpsee-ws-client" +version = "0.2.0-alpha.2" +source = "git+https://github.com/interlay/jsonrpsee?rev=1c2ba33#1c2ba33e7d9187d687c9ee5ff219108b23fdc1a2" dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn", + "async-std", + "async-tls", + "async-trait", + "fnv", + "futures 0.3.13", + "jsonrpsee-types", + "log 0.4.14", + "pin-project 1.0.5", + "serde", + "serde_json", + "soketto", + "thiserror", + "url 2.2.1", + "webpki", ] [[package]] @@ -3634,9 +3681,9 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a" [[package]] name = "libc" -version = "0.2.86" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c" +checksum = "538c092e5586f4cdd7dd8078c4a79220e3e168880218124dcbce860f0ea938c6" [[package]] name = "libloading" @@ -3656,16 +3703,15 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" [[package]] name = "libp2p" -version = "0.34.0" +version = "0.35.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5133112ce42be9482f6a87be92a605dd6bbc9e93c297aee77d172ff06908f3a" +checksum = "adc225a49973cf9ab10d0cdd6a4b8f0cda299df9b760824bbb623f15f8f0c95a" dependencies = [ "atomic", "bytes 1.0.1", - "futures 0.3.12", + "futures 0.3.13", "lazy_static", "libp2p-core", - "libp2p-core-derive", "libp2p-deflate", "libp2p-dns", "libp2p-floodsub", @@ -3680,6 +3726,7 @@ dependencies = [ "libp2p-pnet", "libp2p-request-response", "libp2p-swarm", + "libp2p-swarm-derive", "libp2p-tcp", "libp2p-uds", "libp2p-wasm-ext", @@ -3699,11 +3746,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a2d56aadc2c2bf22cd7797f86e56a65b5b3994a0136b65be3106938acae7a26" dependencies = [ "asn1_der", - "bs58 0.4.0", + "bs58", "ed25519-dalek", "either", "fnv", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "lazy_static", "libsecp256k1", @@ -3719,21 +3766,11 @@ dependencies = [ "ring", "rw-stream-sink", "sha2 0.9.3", - "smallvec 1.6.1", - "thiserror", - "unsigned-varint 0.7.0", - "void", - "zeroize", -] - -[[package]] -name = "libp2p-core-derive" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4bc40943156e42138d22ed3c57ff0e1a147237742715937622a99b10fbe0156" -dependencies = [ - "quote", - "syn", + "smallvec 1.6.1", + "thiserror", + "unsigned-varint 0.7.0", + "void", + "zeroize", ] [[package]] @@ -3743,7 +3780,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d42eed63305f0420736fa487f9acef720c4528bd7852a6a760f5ccde4813345" dependencies = [ "flate2", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", ] @@ -3753,7 +3790,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5153b6db68fd4baa3b304e377db744dd8fea8ff4e4504509ee636abcde88d3e3" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "log 0.4.14", ] @@ -3766,7 +3803,7 @@ checksum = "b3c63dfa06581b24b1d12bf9815b43689a784424be217d6545c800c7c75a207f" dependencies = [ "cuckoofilter", "fnv", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "libp2p-swarm", "log 0.4.14", @@ -3778,16 +3815,16 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12451ba9493e87c91baf2a6dffce9ddf1fbc807a0861532d7cf477954f8ebbee" +checksum = "502dc5fcbfec4aa1c63ef3f7307ffe20e90c1a1387bf23ed0bec087f2dde58a1" dependencies = [ - "asynchronous-codec 0.5.0", + "asynchronous-codec 0.6.0", "base64 0.13.0", "byteorder", "bytes 1.0.1", "fnv", - "futures 0.3.12", + "futures 0.3.13", "hex_fmt", "libp2p-core", "libp2p-swarm", @@ -3798,7 +3835,7 @@ dependencies = [ "regex", "sha2 0.9.3", "smallvec 1.6.1", - "unsigned-varint 0.6.0", + "unsigned-varint 0.7.0", "wasm-timer", ] @@ -3808,7 +3845,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b40fb36a059b7a8cce1514bd8b546fa612e006c9937caa7f5950cb20021fe91e" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "libp2p-swarm", "log 0.4.14", @@ -3829,7 +3866,7 @@ dependencies = [ "bytes 1.0.1", "either", "fnv", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "libp2p-swarm", "log 0.4.14", @@ -3838,7 +3875,7 @@ dependencies = [ "rand 0.7.3", "sha2 0.9.3", "smallvec 1.6.1", - "uint 0.9.0", + "uint", "unsigned-varint 0.7.0", "void", "wasm-timer", @@ -3853,7 +3890,7 @@ dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.12", + "futures 0.3.13", "if-watch", "lazy_static", "libp2p-core", @@ -3873,7 +3910,7 @@ checksum = "350ce8b3923594aedabd5d6e3f875d058435052a29c3f32df378bc70d10be464" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "log 0.4.14", "nohash-hasher", @@ -3891,7 +3928,7 @@ checksum = "4aca322b52a0c5136142a7c3971446fb1e9964923a526c9cc6ef3b7c94e57778" dependencies = [ "bytes 1.0.1", "curve25519-dalek 3.0.2", - "futures 0.3.12", + "futures 0.3.13", "lazy_static", "libp2p-core", "log 0.4.14", @@ -3911,7 +3948,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f3813276d0708c8db0f500d8beda1bda9ad955723b9cb272c41f4727256f73c" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "libp2p-swarm", "log 0.4.14", @@ -3928,7 +3965,7 @@ checksum = "9d58defcadb646ae4b033e130b48d87410bf76394dc3335496cae99dac803e61" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "log 0.4.14", "prost", @@ -3943,7 +3980,7 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ce3374f3b28162db9d3442c9347c4f14cb01e8290052615c7d341d40eae0599" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", "pin-project 1.0.5", "rand 0.7.3", @@ -3959,7 +3996,7 @@ checksum = "10e5552827c33d8326502682da73a0ba4bfa40c1b55b216af3c303f32169dd89" dependencies = [ "async-trait", "bytes 1.0.1", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "libp2p-swarm", "log 0.4.14", @@ -3978,7 +4015,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7955b973e1fd2bd61ffd43ce261c1223f61f4aacd5bae362a924993f9a25fd98" dependencies = [ "either", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "log 0.4.14", "rand 0.7.3", @@ -3987,6 +4024,16 @@ dependencies = [ "wasm-timer", ] +[[package]] +name = "libp2p-swarm-derive" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c564ebaa36a64839f51eaddb0243aaaa29ce64affb56129193cc3248b72af273" +dependencies = [ + "quote", + "syn", +] + [[package]] name = "libp2p-tcp" version = "0.27.1" @@ -3994,7 +4041,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88a5aef80e519a6cb8e2663605142f97baaaea1a252eecbf8756184765f7471b" dependencies = [ "async-io", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "if-watch", "ipnet", @@ -4011,7 +4058,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80ac51ce419f60be966e02103c17f67ff5dc4422ba83ba54d251d6c62a4ed487" dependencies = [ "async-std", - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "log 0.4.14", ] @@ -4022,7 +4069,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6149c46cb76935c80bc8be6ec6e3ebd5f5e1679765a255fb34331d54610f15dd" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -4037,15 +4084,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3b1c6a3431045da8b925ed83384e4c5163e14b990572307fca9c507435d4d22" dependencies = [ "either", - "futures 0.3.12", + "futures 0.3.13", "futures-rustls", "libp2p-core", "log 0.4.14", "quicksink", "rw-stream-sink", - "soketto 0.4.2", - "url 2.2.0", - "webpki-roots 0.21.0", + "soketto", + "url 2.2.1", + "webpki-roots", ] [[package]] @@ -4054,7 +4101,7 @@ version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4819358c542a86ff95f6ae691efb4b94ddaf477079b01a686f5705b79bfc232a" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "libp2p-core", "parking_lot 0.11.1", "thiserror", @@ -4168,7 +4215,7 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f374d42cdfc1d7dbf3d3dec28afab2eb97ffbf43a3234d795b5986dbf4b90ba" dependencies = [ - "hashbrown 0.9.1", + "hashbrown", ] [[package]] @@ -4256,7 +4303,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "814bbecfc0451fc314eeea34f05bbcd5b98a7ad7af37faee088b86a1e633f1d4" dependencies = [ "hash-db", - "hashbrown 0.9.1", + "hashbrown", "parity-util-mem", ] @@ -4305,18 +4352,18 @@ dependencies = [ [[package]] name = "minicbor" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3265a9f5210bb726f81ef9c456ae0aff5321cd95748c0e71889b0e19d8f0332b" +checksum = "1c2b2c73f9640fccab53947e2b3474d5071fcbc8f82cac51ddf6c8041a30a9ea" dependencies = [ "minicbor-derive", ] [[package]] name = "minicbor-derive" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "130b9455e28a3f308f6579671816a6f2621e2e0cbf55dc2f886345bef699481e" +checksum = "19ce18b5423c573a13e80cb3046ea0af6379ef725dc3af4886bdb8f4e5093068" dependencies = [ "proc-macro2", "quote", @@ -4325,9 +4372,9 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" dependencies = [ "adler", "autocfg 1.0.1", @@ -4352,6 +4399,19 @@ dependencies = [ "winapi 0.2.8", ] +[[package]] +name = "mio" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2182a122f3b7f3f5329cb1972cee089ba2459a0a80a56935e6e674f096f8d839" +dependencies = [ + "libc", + "log 0.4.14", + "miow 0.3.6", + "ntapi", + "winapi 0.3.9", +] + [[package]] name = "mio-extras" version = "2.0.6" @@ -4360,7 +4420,7 @@ checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ "lazycell", "log 0.4.14", - "mio", + "mio 0.6.23", "slab", ] @@ -4371,7 +4431,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log 0.4.14", - "mio", + "mio 0.6.23", "miow 0.3.6", "winapi 0.3.9", ] @@ -4384,7 +4444,7 @@ checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" dependencies = [ "iovec", "libc", - "mio", + "mio 0.6.23", ] [[package]] @@ -4439,13 +4499,13 @@ dependencies = [ [[package]] name = "module-exchange-rate-oracle-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-exchange-rate-oracle-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4455,10 +4515,10 @@ dependencies = [ [[package]] name = "module-exchange-rate-oracle-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-std", @@ -4467,13 +4527,13 @@ dependencies = [ [[package]] name = "module-issue-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-issue-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4483,10 +4543,10 @@ dependencies = [ [[package]] name = "module-issue-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4494,13 +4554,13 @@ dependencies = [ [[package]] name = "module-redeem-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-redeem-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4510,10 +4570,10 @@ dependencies = [ [[package]] name = "module-redeem-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4521,13 +4581,13 @@ dependencies = [ [[package]] name = "module-refund-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-refund-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4537,10 +4597,10 @@ dependencies = [ [[package]] name = "module-refund-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4548,13 +4608,13 @@ dependencies = [ [[package]] name = "module-replace-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-replace-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4564,10 +4624,10 @@ dependencies = [ [[package]] name = "module-replace-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4575,14 +4635,14 @@ dependencies = [ [[package]] name = "module-sla-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-exchange-rate-oracle-rpc-runtime-api", "module-sla-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4592,11 +4652,11 @@ dependencies = [ [[package]] name = "module-sla-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", "module-exchange-rate-oracle-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4604,13 +4664,13 @@ dependencies = [ [[package]] name = "module-staked-relayers-rpc" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-staked-relayers-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4620,10 +4680,10 @@ dependencies = [ [[package]] name = "module-staked-relayers-rpc-runtime-api" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4631,14 +4691,14 @@ dependencies = [ [[package]] name = "module-vault-registry-rpc" version = "0.3.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "module-exchange-rate-oracle-rpc-runtime-api", "module-vault-registry-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -4648,11 +4708,11 @@ dependencies = [ [[package]] name = "module-vault-registry-rpc-runtime-api" version = "0.3.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", "module-exchange-rate-oracle-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-std", ] @@ -4707,18 +4767,18 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multistream-select" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5df70763c86c98487451f307e1b68b4100da9076f4c12146905fc2054277f4e8" +checksum = "7d91ec0a2440aaff5f78ec35631a7027d50386c6163aa975f7caa0d5da4b6ff8" dependencies = [ "bytes 1.0.1", - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", "pin-project 1.0.5", "smallvec 1.6.1", @@ -4732,7 +4792,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b6147c3d50b4f3cdabfe2ecc94a0191fd3d6ad58aefd9664cf396285883486" dependencies = [ "approx", - "generic-array 0.13.2", + "generic-array 0.13.3", "matrixmultiply", "num-complex", "num-rational", @@ -4765,8 +4825,8 @@ dependencies = [ "openssl-probe", "openssl-sys", "schannel", - "security-framework 2.0.0", - "security-framework-sys 2.0.0", + "security-framework 2.1.2", + "security-framework-sys 2.1.1", "tempfile", ] @@ -4793,9 +4853,9 @@ dependencies = [ [[package]] name = "nix" -version = "0.19.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2" +checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a" dependencies = [ "bitflags", "cc", @@ -4822,7 +4882,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" dependencies = [ "memchr", - "version_check 0.9.2", + "version_check 0.9.3", ] [[package]] @@ -4831,6 +4891,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "num" version = "0.2.1" @@ -4948,9 +5017,9 @@ checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4" [[package]] name = "once_cell" -version = "1.5.2" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0" +checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" dependencies = [ "parking_lot 0.11.1", ] @@ -4969,15 +5038,15 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.32" +version = "0.10.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70" +checksum = "a61075b62a23fef5a29815de7536d940aa35ce96d18ce0cc5076272db678a577" dependencies = [ "bitflags", "cfg-if 1.0.0", "foreign-types", - "lazy_static", "libc", + "once_cell", "openssl-sys", ] @@ -4989,9 +5058,9 @@ checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] name = "openssl-sys" -version = "0.9.60" +version = "0.9.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6" +checksum = "313752393519e876837e09e1fa183ddef0be7735868dced3196f4472d536277f" dependencies = [ "autocfg 1.0.1", "cc", @@ -5002,7 +5071,7 @@ dependencies = [ [[package]] name = "oracle" -version = "0.2.2" +version = "0.5.0" dependencies = [ "chrono", "clap 3.0.0-beta.2", @@ -5010,7 +5079,6 @@ dependencies = [ "log 0.4.14", "reqwest", "runtime", - "sp-keyring", "thiserror", "tokio 0.2.25", ] @@ -5033,13 +5101,13 @@ dependencies = [ [[package]] name = "pallet-aura" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", "pallet-session", "pallet-timestamp", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-application-crypto", "sp-consensus-aura", @@ -5051,12 +5119,12 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", "pallet-session", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-application-crypto", "sp-authority-discovery", @@ -5067,12 +5135,12 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-authorship", "sp-inherents", "sp-runtime", @@ -5082,15 +5150,16 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log 0.4.14", "pallet-authorship", "pallet-session", "pallet-timestamp", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-application-crypto", "sp-consensus-babe", @@ -5106,12 +5175,13 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "serde", "sp-runtime", "sp-std", @@ -5120,11 +5190,12 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "serde", "sp-core", "sp-io", @@ -5135,14 +5206,15 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log 0.4.14", "pallet-authorship", "pallet-session", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-application-crypto", "sp-core", @@ -5156,12 +5228,13 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", + "log 0.4.14", "pallet-authorship", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-application-crypto", "sp-core", @@ -5174,11 +5247,11 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-core", "sp-io", @@ -5190,12 +5263,13 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", + "log 0.4.14", "pallet-balances", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-runtime", "sp-staking", @@ -5205,11 +5279,11 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "safe-mix", "sp-runtime", "sp-std", @@ -5218,13 +5292,13 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "pallet-timestamp", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-core", "sp-io", @@ -5238,11 +5312,11 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "rand_chacha 0.2.2", "serde", "sp-runtime", @@ -5252,15 +5326,17 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", + "log 0.4.14", "pallet-authorship", "pallet-session", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-application-crypto", + "sp-election-providers", "sp-io", "sp-npos-elections", "sp-runtime", @@ -5272,7 +5348,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5283,11 +5359,11 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-io", "sp-runtime", @@ -5297,13 +5373,14 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "serde", "sp-inherents", "sp-runtime", @@ -5314,11 +5391,11 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "smallvec 1.6.1", "sp-core", @@ -5330,13 +5407,13 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "pallet-transaction-payment-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-blockchain", "sp-core", @@ -5347,10 +5424,10 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "pallet-transaction-payment", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-runtime", ] @@ -5358,13 +5435,13 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "pallet-balances", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-runtime", "sp-std", ] @@ -5372,12 +5449,12 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "enumflags2", "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-runtime", "sp-std", @@ -5386,44 +5463,44 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", ] [[package]] name = "parachain-tokens" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "collateral", "cumulus-primitives-core", "frame-support", "frame-system", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-arithmetic", "sp-runtime", "sp-std", "treasury", - "util", "xcm", "xcm-executor", ] [[package]] name = "parity-db" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "111e193c96758d476d272093a853882668da17489f76bf4361b8decae0b6c515" +checksum = "495197c078e54b8735181aa35c00a327f7f3a3cc00a1ee8c95926dd010f0ec6b" dependencies = [ "blake2-rfc", "crc32fast", - "hex 0.4.2", + "fs2", + "hex 0.4.3", "libc", "log 0.4.14", "memmap2", @@ -5438,7 +5515,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2c6805f98667a3828afb2ec2c396a8d610497e8d546f5447188aae47c5a79ec" dependencies = [ "arrayref", - "bs58 0.4.0", + "bs58", "byteorder", "data-encoding", "multihash", @@ -5446,37 +5523,27 @@ dependencies = [ "serde", "static_assertions", "unsigned-varint 0.7.0", - "url 2.2.0", -] - -[[package]] -name = "parity-scale-codec" -version = "1.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79602888a81ace83e3d1d4b2873286c1f5f906c84db667594e8db8da3506c383" -dependencies = [ - "arrayvec 0.5.2", - "byte-slice-cast 0.3.5", + "url 2.2.1", ] [[package]] name = "parity-scale-codec" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c823fdae1bb5ff5708ee61a62697e6296175dc671710876871c853f48592b3" +checksum = "0cd3dab59b5cf4bc81069ade0fc470341a1ef3ad5fa73e5a8943bed2ec12b2e8" dependencies = [ "arrayvec 0.5.2", "bitvec", - "byte-slice-cast 1.0.0", + "byte-slice-cast", "parity-scale-codec-derive", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9029e65297c7fd6d7013f0579e193ec2b34ae78eabca854c9417504ad8a2d214" +checksum = "fa04976a81fde04924b40cc4036c4d12841e8bb04325a5cf2ada75731a150a7d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5497,7 +5564,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "libc", "log 0.4.14", "mio-named-pipes", @@ -5517,12 +5584,12 @@ checksum = "664a8c6b8e62d8f9f2f937e391982eb433ab285b4cd9545b342441e04a906e42" dependencies = [ "cfg-if 1.0.0", "ethereum-types", - "hashbrown 0.9.1", + "hashbrown", "impl-trait-for-tuples", "lru", "parity-util-mem-derive", "parking_lot 0.11.1", - "primitive-types 0.9.0", + "primitive-types", "smallvec 1.6.1", "winapi 0.3.9", ] @@ -5563,12 +5630,12 @@ dependencies = [ "bytes 0.4.12", "httparse", "log 0.4.14", - "mio", + "mio 0.6.23", "mio-extras", "rand 0.7.3", "sha-1 0.8.2", "slab", - "url 2.2.0", + "url 2.2.1", ] [[package]] @@ -5664,9 +5731,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5d65c4d95931acda4498f675e332fcbdc9a06705cd07086c510e9b6009cd1c1" +checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" [[package]] name = "paste-impl" @@ -5815,15 +5882,15 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b" +checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827" +checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905" [[package]] name = "pin-utils" @@ -5846,9 +5913,9 @@ checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e" [[package]] name = "polkadot-core-primitives" version = "0.7.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "sp-core", "sp-runtime", @@ -5857,14 +5924,14 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.8.28" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +version = "0.8.29" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "derive_more", - "futures 0.3.12", + "futures 0.3.13", "libc", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.1", "polkadot-core-primitives", @@ -5884,13 +5951,13 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.8.28" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +version = "0.8.29" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "bitvec", "frame-system", "hex-literal 0.3.1", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "polkadot-core-primitives", "polkadot-parachain", @@ -5912,8 +5979,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.8.28" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +version = "0.8.29" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "bitvec", "frame-support", @@ -5928,7 +5995,7 @@ dependencies = [ "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-parachains", "rustc-hex", @@ -5949,7 +6016,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "bitvec", "derive_more", @@ -5964,7 +6031,7 @@ dependencies = [ "pallet-staking", "pallet-timestamp", "pallet-vesting", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-primitives", "rand 0.8.3", "rand_chacha 0.3.0", @@ -6052,17 +6119,6 @@ dependencies = [ "treeline", ] -[[package]] -name = "primitive-types" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd39dcacf71411ba488570da7bbc89b717225e46478b30ba99b92db6b149809" -dependencies = [ - "fixed-hash 0.6.1", - "impl-codec 0.4.2", - "uint 0.8.5", -] - [[package]] name = "primitive-types" version = "0.9.0" @@ -6070,10 +6126,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2415937401cb030a2a0a4d922483f945fa068f52a7dbb22ce0fe5f2b6f6adace" dependencies = [ "fixed-hash 0.7.0", - "impl-codec 0.5.0", + "impl-codec", "impl-rlp", "impl-serde", - "uint 0.9.0", + "uint", ] [[package]] @@ -6095,7 +6151,7 @@ dependencies = [ "proc-macro2", "quote", "syn", - "version_check 0.9.2", + "version_check 0.9.3", ] [[package]] @@ -6106,7 +6162,7 @@ checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ "proc-macro2", "quote", - "version_check 0.9.2", + "version_check 0.9.3", ] [[package]] @@ -6235,7 +6291,7 @@ checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" dependencies = [ "futures-core", "futures-sink", - "pin-project-lite 0.1.11", + "pin-project-lite 0.1.12", ] [[package]] @@ -6532,7 +6588,7 @@ checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a" dependencies = [ "crossbeam-channel", "crossbeam-deque 0.8.0", - "crossbeam-utils 0.8.1", + "crossbeam-utils 0.8.3", "lazy_static", "num_cpus", ] @@ -6549,9 +6605,9 @@ dependencies = [ [[package]] name = "redeem" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "btc-relay", "collateral", "exchange-rate-oracle", @@ -6561,8 +6617,8 @@ dependencies = [ "frame-system", "pallet-balances", "pallet-timestamp", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "security", "serde", "sha2 0.8.2", @@ -6573,7 +6629,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", "vault-registry", ] @@ -6636,9 +6691,9 @@ dependencies = [ [[package]] name = "refund" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "btc-relay", "collateral", "exchange-rate-oracle", @@ -6648,8 +6703,8 @@ dependencies = [ "pallet-balances", "pallet-randomness-collective-flip", "pallet-timestamp", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "redeem", "security", "serde", @@ -6661,7 +6716,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", "vault-registry", ] @@ -6678,14 +6732,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.4.3" +version = "1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a" +checksum = "957056ecddbeba1b26965114e191d2e8589ce74db242b6ea25fc4062427a5c19" dependencies = [ "aho-corasick", "memchr", "regex-syntax", - "thread_local", ] [[package]] @@ -6700,9 +6753,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.22" +version = "0.6.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581" +checksum = "24d5f089152e60f62d28b835fbff2cd2e8dc0baf1ac13343bef92ab7eed84548" [[package]] name = "region" @@ -6716,26 +6769,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "relayer-core" -version = "0.3.0" -source = "git+https://gitlab.com/interlay/relayer-core?rev=49deea6c1219d3a0e682e35444a08055a238fed7#49deea6c1219d3a0e682e35444a08055a238fed7" -dependencies = [ - "hex 0.4.2", - "log 0.4.14", - "thiserror", -] - -[[package]] -name = "relayer-core" -version = "0.3.0" -source = "git+https://gitlab.com/interlay/relayer-core?rev=7a99a32e#7a99a32ea03f4308d41ed66f277f20a4cca8270c" -dependencies = [ - "hex 0.4.2", - "log 0.4.14", - "thiserror", -] - [[package]] name = "remove_dir_all" version = "0.5.3" @@ -6748,9 +6781,9 @@ dependencies = [ [[package]] name = "replace" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "btc-relay", "collateral", "exchange-rate-oracle", @@ -6760,8 +6793,8 @@ dependencies = [ "frame-system", "pallet-balances", "pallet-timestamp", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "security", "serde", "sha2 0.8.2", @@ -6772,7 +6805,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", "vault-registry", ] @@ -6799,13 +6831,13 @@ dependencies = [ "mime_guess", "native-tls", "percent-encoding 2.1.0", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "serde", "serde_json", "serde_urlencoded", "tokio 0.2.25", "tokio-tls", - "url 2.2.0", + "url 2.2.1", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -6855,14 +6887,15 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.8.28" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +version = "0.8.29" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "frame-executive", "frame-support", "frame-system", "frame-system-rpc-runtime-api", "hex-literal 0.3.1", + "log 0.4.14", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -6878,7 +6911,7 @@ dependencies = [ "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", "polkadot-runtime-common", @@ -6918,11 +6951,11 @@ dependencies = [ [[package]] name = "runtime" -version = "0.3.0" +version = "0.5.0" dependencies = [ "async-trait", - "bitcoin 0.2.0", "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "btc-parachain", "btc-parachain-service", "btc-relay", @@ -6930,12 +6963,14 @@ dependencies = [ "exchange-rate-oracle", "frame-support", "frame-system", - "futures 0.3.12", + "futures 0.3.13", "issue", - "jsonrpsee", + "jsonrpsee-types", + "jsonrpsee-ws-client", "log 0.4.14", "module-exchange-rate-oracle-rpc-runtime-api", - "parity-scale-codec 2.0.0", + "parity-scale-codec", + "polkadot-parachain", "rand 0.7.3", "redeem", "refund", @@ -6954,7 +6989,9 @@ dependencies = [ "tempdir", "thiserror", "tokio 0.2.25", + "url 2.2.1", "vault-registry", + "xcm", ] [[package]] @@ -6966,7 +7003,7 @@ dependencies = [ "base64 0.13.0", "blake2b_simd", "constant_time_eq", - "crossbeam-utils 0.8.1", + "crossbeam-utils 0.8.3", ] [[package]] @@ -6996,19 +7033,6 @@ dependencies = [ "semver 0.9.0", ] -[[package]] -name = "rustls" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b25a18b1bf7387f0145e7f8324e700805aade3842dd3db2e74e4cdeb4677c09e" -dependencies = [ - "base64 0.10.1", - "log 0.4.14", - "ring", - "sct", - "webpki", -] - [[package]] name = "rustls" version = "0.18.1" @@ -7047,13 +7071,25 @@ dependencies = [ "security-framework 1.0.0", ] +[[package]] +name = "rustls-native-certs" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" +dependencies = [ + "openssl-probe", + "rustls 0.19.0", + "schannel", + "security-framework 2.1.2", +] + [[package]] name = "rw-stream-sink" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "pin-project 0.4.27", "static_assertions", ] @@ -7100,12 +7136,12 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-block-builder", "sc-client-api", "sc-proposer-metrics", @@ -7123,14 +7159,13 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-client-api", "sp-api", "sp-block-builder", "sp-blockchain", - "sp-consensus", "sp-core", "sp-inherents", "sp-runtime", @@ -7140,10 +7175,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-chain-spec-derive", "sc-consensus-babe", "sc-consensus-epochs", @@ -7161,7 +7196,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7172,16 +7207,16 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "chrono", "fdlimit", - "futures 0.3.12", - "hex 0.4.2", + "futures 0.3.13", + "hex 0.4.3", "libp2p", "log 0.4.14", "names", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "rand 0.7.3", "regex", "rpassword", @@ -7210,16 +7245,16 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", "fnv", - "futures 0.3.12", + "futures 0.3.13", "hash-db", "kvdb", "lazy_static", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sc-executor", "sp-api", @@ -7244,7 +7279,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "blake2-rfc", "hash-db", @@ -7254,7 +7289,7 @@ dependencies = [ "linked-hash-map", "log 0.4.14", "parity-db", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.1", "sc-client-api", @@ -7274,7 +7309,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "sc-client-api", "sp-blockchain", @@ -7285,13 +7320,13 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sc-block-builder", "sc-client-api", @@ -7317,18 +7352,18 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", "fork-tree", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "log 0.4.14", "merlin", "num-bigint", "num-rational", "num-traits", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "pdqselect", "rand 0.7.3", @@ -7363,10 +7398,10 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "fork-tree", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sc-client-api", "sp-blockchain", @@ -7376,12 +7411,12 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sc-client-api", "sc-telemetry", @@ -7402,7 +7437,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", "sc-client-api", @@ -7416,13 +7451,13 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", "lazy_static", "libsecp256k1", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-wasm 0.41.0", "parking_lot 0.11.1", "sc-executor-common", @@ -7445,10 +7480,10 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-wasm 0.41.0", "sp-allocator", "sp-core", @@ -7461,10 +7496,10 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-executor-common", "sp-allocator", "sp-core", @@ -7476,10 +7511,10 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-wasm 0.41.0", "pwasm-utils", "sc-executor-common", @@ -7494,17 +7529,17 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "linked-hash-map", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "pin-project 1.0.5", "rand 0.7.3", @@ -7533,10 +7568,10 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "ansi_term 0.12.1", - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", "parity-util-mem", "sc-client-api", @@ -7551,13 +7586,13 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "async-trait", "derive_more", - "futures 0.3.12", + "futures 0.3.13", "futures-util", - "hex 0.4.2", + "hex 0.4.3", "merlin", "parking_lot 0.11.1", "rand 0.7.3", @@ -7571,11 +7606,11 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "hash-db", "lazy_static", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sc-client-api", "sc-executor", @@ -7590,13 +7625,13 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "async-std", "async-trait", "asynchronous-codec 0.5.0", "bitflags", - "bs58 0.4.0", + "bs58", "bytes 1.0.1", "cid", "derive_more", @@ -7604,9 +7639,9 @@ dependencies = [ "erased-serde", "fnv", "fork-tree", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", - "hex 0.4.2", + "hex 0.4.3", "ip_network", "libp2p", "linked-hash-map", @@ -7614,7 +7649,7 @@ dependencies = [ "log 0.4.14", "lru", "nohash-hasher", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "pin-project 1.0.5", "prost", @@ -7643,9 +7678,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "libp2p", "log 0.4.14", @@ -7659,17 +7694,17 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "bytes 0.5.6", "fnv", - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "hyper 0.13.10", - "hyper-rustls", + "hyper-rustls 0.21.0", "log 0.4.14", "num_cpus", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "rand 0.7.3", "sc-client-api", @@ -7686,9 +7721,9 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "libp2p", "log 0.4.14", "serde_json", @@ -7699,7 +7734,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", "substrate-prometheus-endpoint", @@ -7708,14 +7743,14 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "hash-db", "jsonrpc-core 15.1.0", "jsonrpc-pubsub 15.1.0", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sc-block-builder", "sc-client-api", @@ -7742,16 +7777,16 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", - "futures 0.3.12", + "futures 0.3.13", "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "jsonrpc-pubsub 15.1.0", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "serde", "serde_json", @@ -7766,9 +7801,9 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "jsonrpc-core 15.1.0", "jsonrpc-http-server 15.1.0", "jsonrpc-ipc-server", @@ -7784,19 +7819,19 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "directories", "exit-future", - "futures 0.1.30", - "futures 0.3.12", + "futures 0.1.31", + "futures 0.3.13", "futures-timer 3.0.2", "hash-db", "jsonrpc-core 15.1.0", "jsonrpc-pubsub 15.1.0", "lazy_static", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.1", "pin-project 1.0.5", @@ -7847,10 +7882,10 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "parity-util-mem-derive", "parking_lot 0.11.1", @@ -7862,10 +7897,10 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "chrono", - "futures 0.3.12", + "futures 0.3.13", "libp2p", "log 0.4.14", "parking_lot 0.11.1", @@ -7884,7 +7919,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "ansi_term 0.12.1", "atty", @@ -7912,7 +7947,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7923,10 +7958,10 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", - "futures 0.3.12", + "futures 0.3.13", "linked-hash-map", "log 0.4.14", "parity-util-mem", @@ -7945,13 +7980,13 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-diagnose", "intervalier", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.1", "sc-client-api", @@ -8069,12 +8104,12 @@ dependencies = [ [[package]] name = "security" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", "frame-system", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "serde", "sha2 0.8.2", "sp-core", @@ -8096,15 +8131,15 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.0.0" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1759c2e3c8580017a484a7ac56d3abc5a6c1feadf88db2f3633f12ae4268c69" +checksum = "d493c5f39e02dfb062cd8f33301f90f9b13b650e8c1b1d0fd75c19dd64bff69d" dependencies = [ "bitflags", "core-foundation 0.9.1", "core-foundation-sys 0.8.2", "libc", - "security-framework-sys 2.0.0", + "security-framework-sys 2.1.1", ] [[package]] @@ -8119,9 +8154,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b" +checksum = "dee48cdde5ed250b0d3252818f646e174ab414036edb884dde62d80a3ac6082d" dependencies = [ "core-foundation-sys 0.8.2", "libc", @@ -8172,18 +8207,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.123" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d5161132722baa40d802cc70b15262b98258453e85e5d1d365c757c73869ae" +checksum = "bd761ff957cb2a45fbb9ab3da6512de9de55872866160b23c25f1a841e99d29f" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.123" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9391c295d64fc0abb2c556bad848f33cb8296276b1ad2677d1ae1ace4f258f31" +checksum = "1800f7693e94e186f5e25a28291ae1570da908aff7d97a095dec1e56ff99069b" dependencies = [ "proc-macro2", "quote", @@ -8192,9 +8227,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.62" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea1c6153794552ea7cf7cf63b1231a25de00ec90db326ba6264440fa08e31486" +checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" dependencies = [ "itoa", "ryu", @@ -8238,12 +8273,6 @@ dependencies = [ "opaque-debug 0.3.0", ] -[[package]] -name = "sha1" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" - [[package]] name = "sha2" version = "0.8.2" @@ -8312,9 +8341,9 @@ checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" [[package]] name = "signal-hook" -version = "0.3.4" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f5e3fe0c66f67197236097d89de1e86216f1f6fdeaf47c442f854ab46c240" +checksum = "6aa894ef3fade0ee7243422f4fbbd6c2b48e6de767e621d37ef65f2310f53cea" dependencies = [ "libc", "signal-hook-registry", @@ -8350,7 +8379,7 @@ dependencies = [ [[package]] name = "sla" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "collateral", "exchange-rate-oracle", @@ -8358,7 +8387,7 @@ dependencies = [ "frame-system", "pallet-balances", "pallet-timestamp", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "security", "serde", "sp-arithmetic", @@ -8383,8 +8412,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d0132f3e393bcb7390c60bb45769498cf4550bcb7a21d7f95c02b69f6362cdc" dependencies = [ "crc32fast", - "crossbeam-epoch 0.9.1", - "crossbeam-utils 0.8.1", + "crossbeam-epoch 0.9.3", + "crossbeam-utils 0.8.3", "fs2", "fxhash", "libc", @@ -8436,25 +8465,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "soketto" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c9dab3f95c9ebdf3a88268c19af668f637a3c5039c2c56ff2d40b1b2d64a25b" -dependencies = [ - "base64 0.11.0", - "bytes 0.5.6", - "futures 0.3.12", - "http 0.2.3", - "httparse", - "log 0.4.14", - "rand 0.7.3", - "sha1", - "smallvec 1.6.1", - "static_assertions", - "thiserror", -] - [[package]] name = "soketto" version = "0.4.2" @@ -8464,7 +8474,7 @@ dependencies = [ "base64 0.12.3", "bytes 0.5.6", "flate2", - "futures 0.3.12", + "futures 0.3.13", "httparse", "log 0.4.14", "rand 0.7.3", @@ -8474,7 +8484,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", "sp-core", @@ -8486,10 +8496,11 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "hash-db", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "sp-api-proc-macro", "sp-core", "sp-runtime", @@ -8502,7 +8513,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -8514,9 +8525,9 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-core", "sp-io", @@ -8526,11 +8537,11 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "integer-sqrt", "num-traits", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-debug-derive", "sp-std", @@ -8539,9 +8550,9 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-application-crypto", "sp-runtime", @@ -8551,9 +8562,9 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-inherents", "sp-runtime", "sp-std", @@ -8562,9 +8573,9 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", @@ -8574,12 +8585,12 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", "lru", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sp-api", "sp-consensus", @@ -8592,7 +8603,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "serde", "serde_json", @@ -8601,13 +8612,13 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-timer 3.0.2", "libp2p", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "serde", "sp-api", @@ -8627,9 +8638,9 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-application-crypto", "sp-consensus-slots", @@ -8642,10 +8653,10 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "merlin", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-application-crypto", "sp-consensus", @@ -8662,9 +8673,9 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-arithmetic", "sp-runtime", ] @@ -8672,9 +8683,9 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "schnorrkel", "sp-core", "sp-runtime", @@ -8684,27 +8695,27 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "base58", "blake2-rfc", "byteorder", "dyn-clonable", "ed25519-dalek", - "futures 0.3.12", + "futures 0.3.13", "hash-db", "hash256-std-hasher", - "hex 0.4.2", + "hex 0.4.3", "impl-serde", "lazy_static", "libsecp256k1", "log 0.4.14", "merlin", "num-traits", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.1", - "primitive-types 0.9.0", + "primitive-types", "rand 0.7.3", "regex", "schnorrkel", @@ -8728,7 +8739,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -8737,20 +8748,31 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "sp-election-providers" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" +dependencies = [ + "parity-scale-codec", + "sp-arithmetic", + "sp-npos-elections", + "sp-std", +] + [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "environmental", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-std", "sp-storage", ] @@ -8758,11 +8780,11 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "finality-grandpa", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-application-crypto", @@ -8775,9 +8797,9 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sp-core", "sp-std", @@ -8787,13 +8809,13 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "hash-db", "libsecp256k1", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "sp-core", "sp-externalities", @@ -8811,7 +8833,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "lazy_static", "sp-core", @@ -8822,13 +8844,13 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "async-trait", "derive_more", - "futures 0.3.12", + "futures 0.3.13", "merlin", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "schnorrkel", "serde", @@ -8839,9 +8861,9 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-arithmetic", "sp-core", @@ -8852,7 +8874,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8863,7 +8885,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "sp-api", "sp-core", @@ -8873,7 +8895,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "backtrace", ] @@ -8881,7 +8903,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "serde", "sp-core", @@ -8890,15 +8912,15 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "either", "hash256-std-hasher", "impl-trait-for-tuples", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parity-util-mem", - "paste 1.0.4", + "paste 1.0.5", "rand 0.7.3", "serde", "sp-application-crypto", @@ -8911,11 +8933,11 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -8928,7 +8950,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "Inflector", "proc-macro-crate", @@ -8940,7 +8962,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "serde", "serde_json", @@ -8949,9 +8971,9 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-core", "sp-runtime", @@ -8962,9 +8984,9 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-runtime", "sp-std", ] @@ -8972,12 +8994,12 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "hash-db", "log 0.4.14", "num-traits", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "parking_lot 0.11.1", "rand 0.7.3", "smallvec 1.6.1", @@ -8994,15 +9016,15 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "impl-serde", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "ref-cast", "serde", "sp-debug-derive", @@ -9012,7 +9034,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", "sp-core", @@ -9025,10 +9047,10 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", @@ -9039,10 +9061,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-std", "tracing", "tracing-core", @@ -9052,12 +9074,12 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "derive_more", - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-api", "sp-blockchain", @@ -9068,11 +9090,11 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "hash-db", "memory-db", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-core", "sp-std", "trie-db", @@ -9082,9 +9104,9 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "futures-core", "futures-timer 3.0.2", "lazy_static", @@ -9094,10 +9116,10 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "impl-serde", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "sp-runtime", "sp-std", @@ -9106,10 +9128,10 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sp-std", "wasmi", ] @@ -9134,26 +9156,21 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staked-relayer" -version = "0.2.0" +version = "0.5.0" dependencies = [ "async-trait", "backoff", - "bitcoin 0.2.0", + "bitcoin 0.5.0", "clap 3.0.0-beta.2", "env_logger 0.7.1", - "frame-system", - "futures 0.3.12", - "hex 0.4.2", - "jsonrpc-core-client 16.0.0", - "jsonrpc-http-server 16.0.0", - "jsonrpsee", + "futures 0.3.13", + "hex 0.4.3", + "jsonrpc-core-client 17.0.0", + "jsonrpc-http-server 17.0.0", "log 0.4.14", "mockall", - "parity-scale-codec 2.0.0", - "rand 0.7.3", - "relayer-core 0.3.0 (git+https://gitlab.com/interlay/relayer-core?rev=7a99a32e)", + "parity-scale-codec", "runtime", - "schnorrkel", "serde", "sp-core", "sp-keyring", @@ -9164,9 +9181,9 @@ dependencies = [ [[package]] name = "staked-relayers" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "btc-relay", "collateral", "exchange-rate-oracle", @@ -9174,9 +9191,9 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex 0.4.2", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "hex 0.4.3", + "parity-scale-codec", + "primitive-types", "redeem", "refund", "replace", @@ -9190,7 +9207,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", "vault-registry", ] @@ -9310,15 +9326,15 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.12", + "futures 0.3.13", "jsonrpc-core 15.1.0", "jsonrpc-core-client 15.1.0", "jsonrpc-derive", "log 0.4.14", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", @@ -9333,7 +9349,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#743accbe3256de2fc615adcaa3ab03ebdbbb4dbd" +source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#645299e8b23ec5fa52935b1a6edbf36886e80141" dependencies = [ "async-std", "derive_more", @@ -9347,20 +9363,22 @@ dependencies = [ [[package]] name = "substrate-subxt" version = "0.14.0" -source = "git+https://github.com/interlay/substrate-subxt?rev=9ef6ed9#9ef6ed9116c2e4d45df70c1c6c41210b891ced68" +source = "git+https://github.com/interlay/substrate-subxt?rev=0283aa0#0283aa0845792e3b951c39bcc67c19d83cc12a67" dependencies = [ "dyn-clone", "frame-metadata", "frame-support", "funty", - "futures 0.3.12", - "hex 0.4.2", - "jsonrpsee", + "futures 0.3.13", + "hex 0.4.3", + "jsonrpsee-http-client", + "jsonrpsee-types", + "jsonrpsee-ws-client", "log 0.4.14", "num-traits", "pallet-indices", "pallet-staking", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "serde", "serde_json", "sp-application-crypto", @@ -9369,20 +9387,22 @@ dependencies = [ "sp-runtime", "sp-std", "sp-version", + "substrate-subxt-client", "substrate-subxt-proc-macro", "thiserror", - "url 2.2.0", + "url 2.2.1", ] [[package]] name = "substrate-subxt-client" version = "0.6.0" -source = "git+https://github.com/interlay/substrate-subxt?rev=9ef6ed9#9ef6ed9116c2e4d45df70c1c6c41210b891ced68" +source = "git+https://github.com/interlay/substrate-subxt?rev=0283aa0#0283aa0845792e3b951c39bcc67c19d83cc12a67" dependencies = [ "async-std", - "futures 0.1.30", - "futures 0.3.12", - "jsonrpsee", + "futures 0.1.31", + "futures 0.3.13", + "jsonrpsee-types", + "jsonrpsee-ws-client", "log 0.4.14", "sc-client-db", "sc-network", @@ -9395,7 +9415,7 @@ dependencies = [ [[package]] name = "substrate-subxt-proc-macro" version = "0.14.0" -source = "git+https://github.com/interlay/substrate-subxt?rev=9ef6ed9#9ef6ed9116c2e4d45df70c1c6c41210b891ced68" +source = "git+https://github.com/interlay/substrate-subxt?rev=0283aa0#0283aa0845792e3b951c39bcc67c19d83cc12a67" dependencies = [ "heck", "proc-macro-crate", @@ -9436,9 +9456,9 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" [[package]] name = "syn" -version = "1.0.60" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c700597eca8a5a762beb35753ef6b94df201c81cca676604f547495a0d7f0081" +checksum = "3fd9d1e9976102a03c542daa2eff1b43f9d72306342f3f8b3ed5fb8908195d6f" dependencies = [ "proc-macro2", "quote", @@ -9510,18 +9530,16 @@ dependencies = [ [[package]] name = "testdata-gen" -version = "0.1.0" +version = "0.5.0" dependencies = [ - "bitcoin 0.2.0", + "bitcoin 0.5.0", "clap 3.0.0-beta.2", "env_logger 0.7.1", - "frame-system", - "hex 0.4.2", - "jsonrpc-core 16.0.0", + "futures 0.3.13", + "hex 0.4.3", + "jsonrpc-core 17.0.0", "log 0.4.14", - "parity-scale-codec 2.0.0", - "primitive-types 0.7.3", - "relayer-core 0.3.0 (git+https://gitlab.com/interlay/relayer-core?rev=49deea6c1219d3a0e682e35444a08055a238fed7)", + "parity-scale-codec", "reqwest", "runtime", "serde", @@ -9552,18 +9570,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146" +checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1" +checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" dependencies = [ "proc-macro2", "quote", @@ -9648,8 +9666,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", - "mio", + "futures 0.1.31", + "mio 0.6.23", "num_cpus", "tokio-codec", "tokio-current-thread", @@ -9678,17 +9696,31 @@ dependencies = [ "lazy_static", "libc", "memchr", - "mio", + "mio 0.6.23", "mio-named-pipes", "mio-uds", "num_cpus", - "pin-project-lite 0.1.11", + "pin-project-lite 0.1.12", "signal-hook-registry", "slab", "tokio-macros", "winapi 0.3.9", ] +[[package]] +name = "tokio" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d56477f6ed99e10225f38f9f75f872f29b8b8bd8c0b946f63345bb144e9eeda" +dependencies = [ + "autocfg 1.0.1", + "bytes 1.0.1", + "libc", + "memchr", + "mio 0.7.10", + "pin-project-lite 0.2.6", +] + [[package]] name = "tokio-buf" version = "0.1.1" @@ -9697,7 +9729,7 @@ checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" dependencies = [ "bytes 0.4.12", "either", - "futures 0.1.30", + "futures 0.1.31", ] [[package]] @@ -9707,7 +9739,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "tokio-io", ] @@ -9717,7 +9749,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "tokio-executor", ] @@ -9728,7 +9760,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.30", + "futures 0.1.31", ] [[package]] @@ -9737,7 +9769,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "tokio-io", "tokio-threadpool", ] @@ -9749,7 +9781,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "log 0.4.14", ] @@ -9771,8 +9803,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", - "mio", + "futures 0.1.31", + "mio 0.6.23", "mio-named-pipes", "tokio 0.1.22", ] @@ -9784,10 +9816,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.30", + "futures 0.1.31", "lazy_static", "log 0.4.14", - "mio", + "mio 0.6.23", "num_cpus", "parking_lot 0.9.0", "slab", @@ -9808,13 +9840,24 @@ dependencies = [ "webpki", ] +[[package]] +name = "tokio-rustls" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" +dependencies = [ + "rustls 0.19.0", + "tokio 1.3.0", + "webpki", +] + [[package]] name = "tokio-service" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", ] [[package]] @@ -9824,7 +9867,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" dependencies = [ "fnv", - "futures 0.1.30", + "futures 0.1.31", ] [[package]] @@ -9834,9 +9877,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "iovec", - "mio", + "mio 0.6.23", "tokio-io", "tokio-reactor", ] @@ -9850,7 +9893,7 @@ dependencies = [ "crossbeam-deque 0.7.3", "crossbeam-queue", "crossbeam-utils 0.7.2", - "futures 0.1.30", + "futures 0.1.31", "lazy_static", "log 0.4.14", "num_cpus", @@ -9865,7 +9908,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.30", + "futures 0.1.31", "slab", "tokio-executor", ] @@ -9887,9 +9930,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "log 0.4.14", - "mio", + "mio 0.6.23", "tokio-codec", "tokio-io", "tokio-reactor", @@ -9902,11 +9945,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0" dependencies = [ "bytes 0.4.12", - "futures 0.1.30", + "futures 0.1.31", "iovec", "libc", "log 0.4.14", - "mio", + "mio 0.6.23", "mio-uds", "tokio-codec", "tokio-io", @@ -9923,10 +9966,24 @@ dependencies = [ "futures-core", "futures-sink", "log 0.4.14", - "pin-project-lite 0.1.11", + "pin-project-lite 0.1.12", "tokio 0.2.25", ] +[[package]] +name = "tokio-util" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec31e5cc6b46e653cf57762f36f71d5e6386391d88a72fd6db4508f8f676fb29" +dependencies = [ + "bytes 1.0.1", + "futures-core", + "futures-sink", + "log 0.4.14", + "pin-project-lite 0.2.6", + "tokio 1.3.0", +] + [[package]] name = "toml" version = "0.5.8" @@ -9944,22 +10001,22 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f77d3842f76ca899ff2dbcf231c5c65813dea431301d6eb686279c15c4464f12" +checksum = "01ebdc2bb4498ab1ab5f5b73c5803825e60199229ccba0698170e3be0e7f959f" dependencies = [ "cfg-if 1.0.0", "log 0.4.14", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.13" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a9bd1db7706f2373a190b0d067146caa39350c486f3d455b0e33b431f94c07" +checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2" dependencies = [ "proc-macro2", "quote", @@ -9987,9 +10044,9 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0f8c7178e13481ff6765bd169b33e8d554c5d2bbede5e32c356194be02b9b9" +checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" dependencies = [ "lazy_static", "log 0.4.14", @@ -10008,9 +10065,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.15" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fa8f0c8f4c594e4fc9debc1990deab13238077271ba84dd853d54902ee3401" +checksum = "705096c6f83bf68ea5d357a6aa01829ddbdac531b357b45abeca842938085baa" dependencies = [ "ansi_term 0.12.1", "chrono", @@ -10037,13 +10094,14 @@ checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" [[package]] name = "treasury" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ "frame-support", "frame-system", "pallet-balances", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "safe-mix", + "serde", "sp-core", "sp-io", "sp-runtime", @@ -10063,7 +10121,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec051edf7f0fc9499a2cb0947652cab2148b9d7f61cee7605e312e9f970dacaf" dependencies = [ "hash-db", - "hashbrown 0.9.1", + "hashbrown", "log 0.4.14", "rustc-hex", "smallvec 1.6.1", @@ -10103,9 +10161,9 @@ checksum = "1410f6f91f21d1612654e7cc69193b0334f909dcf2c790c4826254fbb86f8887" [[package]] name = "typenum" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" +checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" [[package]] name = "ucd-trie" @@ -10113,18 +10171,6 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" -[[package]] -name = "uint" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9db035e67dfaf7edd9aebfe8676afcd63eed53c8a4044fed514c8cccf1835177" -dependencies = [ - "byteorder", - "crunchy", - "rustc-hex", - "static_assertions", -] - [[package]] name = "uint" version = "0.9.0" @@ -10133,7 +10179,7 @@ checksum = "e11fe9a9348741cf134085ad57c249508345fe16411b3d7fb4ff2da2f1d6382e" dependencies = [ "byteorder", "crunchy", - "hex 0.4.2", + "hex 0.4.3", "static_assertions", ] @@ -10152,7 +10198,7 @@ version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" dependencies = [ - "version_check 0.9.2", + "version_check 0.9.3", ] [[package]] @@ -10250,9 +10296,9 @@ dependencies = [ [[package]] name = "url" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e" +checksum = "9ccd964113622c8e9322cfac19eb1004a07e636c545f325da085d5cdde6f1f8b" dependencies = [ "form_urlencoded", "idna 0.2.2", @@ -10260,16 +10306,6 @@ dependencies = [ "percent-encoding 2.1.0", ] -[[package]] -name = "util" -version = "0.3.3" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "value-bag" version = "1.0.0-alpha.6" @@ -10281,32 +10317,28 @@ dependencies = [ [[package]] name = "vault" -version = "0.2.6" +version = "0.5.0" dependencies = [ "async-trait", "backoff", - "bitcoin 0.2.0", + "bitcoin 0.5.0", "clap 3.0.0-beta.2", "env_logger 0.7.1", - "futures 0.3.12", - "hex 0.4.2", - "jsonrpc-core 16.0.0", - "jsonrpc-core-client 16.0.0", - "jsonrpc-http-server 16.0.0", - "jsonrpsee", + "futures 0.3.13", + "hex 0.4.3", + "jsonrpc-core 17.0.0", + "jsonrpc-core-client 17.0.0", + "jsonrpc-http-server 17.0.0", "log 0.4.14", "mockall", - "parity-scale-codec 2.0.0", - "rand 0.7.3", + "parity-scale-codec", "runtime", - "schnorrkel", "serde", "serde_json", "sha2 0.8.2", "sp-arithmetic", "sp-core", "sp-keyring", - "tempdir", "thiserror", "tokio 0.2.25", ] @@ -10314,9 +10346,9 @@ dependencies = [ [[package]] name = "vault-registry" version = "0.5.0" -source = "git+https://gitlab.com/interlay/btc-parachain?branch=dev#d4e416109b2277ff6488288f52bee77dca0ae80b" +source = "git+https://github.com/interlay/btc-parachain?branch=master#cc5c16b28ef705e0774654dd94b813d9d35e12ec" dependencies = [ - "bitcoin 0.5.0", + "bitcoin 0.5.0 (git+https://github.com/interlay/btc-parachain?branch=master)", "collateral", "exchange-rate-oracle", "fixed-hash 0.6.1", @@ -10326,8 +10358,8 @@ dependencies = [ "pallet-balances", "pallet-randomness-collective-flip", "pallet-timestamp", - "parity-scale-codec 2.0.0", - "primitive-types 0.9.0", + "parity-scale-codec", + "primitive-types", "security", "serde", "sp-arithmetic", @@ -10336,7 +10368,6 @@ dependencies = [ "sp-runtime", "sp-std", "treasury", - "util", ] [[package]] @@ -10365,9 +10396,9 @@ checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" [[package]] name = "version_check" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" +checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" [[package]] name = "void" @@ -10398,7 +10429,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" dependencies = [ - "futures 0.1.30", + "futures 0.1.31", "log 0.4.14", "try-lock", ] @@ -10427,9 +10458,9 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] name = "wasm-bindgen" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55c0f7123de74f0dab9b7d00fd614e7b19349cd1e2f5252bbe9b1754b59433be" +checksum = "7ee1280240b7c461d6a0071313e08f34a60b0365f14260362e5a2b17d1d31aa7" dependencies = [ "cfg-if 1.0.0", "serde", @@ -10439,9 +10470,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bc45447f0d4573f3d65720f636bbcc3dd6ce920ed704670118650bcd47764c7" +checksum = "5b7d8b6942b8bb3a9b0e73fc79b98095a27de6fa247615e59d096754a3bc2aa8" dependencies = [ "bumpalo", "lazy_static", @@ -10454,9 +10485,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3de431a2910c86679c34283a33f66f4e4abd7e0aec27b6669060148872aadf94" +checksum = "8e67a5806118af01f0d9045915676b22aaebecf4178ae7021bc171dab0b897ab" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -10466,9 +10497,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b8853882eef39593ad4174dd26fc9865a64e84026d223f63bb2c42affcbba2c" +checksum = "e5ac38da8ef716661f0f36c0d8320b89028efe10c7c0afde65baffb496ce0d3b" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -10476,9 +10507,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4133b5e7f2a531fa413b3a1695e925038a05a71cf67e87dafa295cb645a01385" +checksum = "cc053ec74d454df287b9374ee8abb36ffd5acb95ba87da3ba5b7d3fe20eb401e" dependencies = [ "proc-macro2", "quote", @@ -10489,9 +10520,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4945e4943ae02d15c13962b38a5b1e81eadd4b71214eee75af64a4d6a4fd64" +checksum = "7d6f8ec44822dd71f5f221a5847fb34acd9060535c1211b70a05844c0f6383b1" [[package]] name = "wasm-gc-api" @@ -10510,7 +10541,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "js-sys", "parking_lot 0.11.1", "pin-utils", @@ -10737,27 +10768,27 @@ dependencies = [ [[package]] name = "wast" -version = "33.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d04fe175c7f78214971293e7d8875673804e736092206a3a4544dbc12811c1b" +checksum = "db5ae96da18bb5926341516fd409b5a8ce4e4714da7f0a1063d3b20ac9f9a1e1" dependencies = [ "leb128", ] [[package]] name = "wat" -version = "1.0.34" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ec9c6ee01ae07a26adadcdfed22c7a97e0b8cbee9c06e0e96076ece5aeb5cfe" +checksum = "0b0fa059022c5dabe129f02b429d67086400deb8277f89c975555dacc1dadbcc" dependencies = [ "wast", ] [[package]] name = "web-sys" -version = "0.3.47" +version = "0.3.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c40dc691fc48003eba817c38da7113c15698142da971298003cac3ef175680b3" +checksum = "ec600b26223b2948cedfde2a0aa6756dcf1fef616f43d7b3097aaf53a6c4d92b" dependencies = [ "js-sys", "wasm-bindgen", @@ -10773,15 +10804,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki-roots" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a262ae37dd9d60f60dd473d1158f9fbebf110ba7b6a5051c8160460f6043718b" -dependencies = [ - "webpki", -] - [[package]] name = "webpki-roots" version = "0.21.0" @@ -10901,18 +10923,18 @@ dependencies = [ [[package]] name = "xcm" version = "0.8.22" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ - "parity-scale-codec 2.0.0", + "parity-scale-codec", ] [[package]] name = "xcm-builder" version = "0.8.22" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "frame-support", - "parity-scale-codec 2.0.0", + "parity-scale-codec", "polkadot-parachain", "sp-arithmetic", "sp-io", @@ -10925,11 +10947,12 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.8.22" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#0591066a0a36d0d44649b6159a49c71b2f0a3e69" +source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#bf7aa8921c1ccc2638c9465224b9b18bef33e35e" dependencies = [ "frame-support", "impl-trait-for-tuples", - "parity-scale-codec 2.0.0", + "log 0.4.14", + "parity-scale-codec", "sp-arithmetic", "sp-core", "sp-io", @@ -10944,7 +10967,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1cc7bd8c983209ed5d527f44b01c41b7dc146fd960c61cf9e1d25399841dc271" dependencies = [ - "futures 0.3.12", + "futures 0.3.13", "log 0.4.14", "nohash-hasher", "parking_lot 0.11.1", diff --git a/Cargo.toml b/Cargo.toml index 68dfdd2b3..ec1a04365 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,3 @@ members = [ "bitcoin", "faucet" ] - -[patch.crates-io] -jsonrpsee = { git = "https://github.com/interlay/jsonrpsee", rev = "5b35d10b5ae45a1776a8dcf761ecbe8d6e288646" } \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 5e78af6da..5faf47266 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,19 +8,19 @@ pipeline { } environment { RUSTC_WRAPPER = '/usr/local/bin/sccache' + CI = 'true' + GITHUB_TOKEN = credentials('ns212-github-token') } options { - gitLabConnection 'Gitlab-Interlay' - gitlabBuilds(builds: ['test', 'build']) + timestamps() + ansiColor('xterm') } stages { stage('Test') { steps { container('rust') { - updateGitlabCommitStatus name: 'test', state: 'running' - sh 'rustc --version' sh 'SCCACHE_START_SERVER=1 SCCACHE_IDLE_TIMEOUT=0 /usr/local/bin/sccache' sh '/usr/local/bin/sccache -s' @@ -32,20 +32,6 @@ pipeline { sh '/usr/local/bin/sccache -s' } } - post { - success { - updateGitlabCommitStatus name: 'test', state: 'success' - } - failure { - updateGitlabCommitStatus name: 'test', state: 'failed' - } - unstable { - updateGitlabCommitStatus name: 'test', state: 'failed' - } - aborted { - updateGitlabCommitStatus name: 'test', state: 'canceled' - } - } } stage('Build binaries') { @@ -68,28 +54,12 @@ pipeline { sh '/usr/local/bin/sccache -s' } } - post { - success { - updateGitlabCommitStatus name: 'build', state: 'success' - } - failure { - updateGitlabCommitStatus name: 'build', state: 'failed' - } - unstable { - updateGitlabCommitStatus name: 'build', state: 'failed' - } - aborted { - updateGitlabCommitStatus name: 'build', state: 'canceled' - } - } } stage('Build docker images') { when { anyOf { branch 'master' - branch 'dev' - branch 'jenkins' tag '*' } } @@ -113,6 +83,26 @@ pipeline { } } } + + stage('Create GitHub release') { + when { + anyOf { + branch 'github' + tag '*' + } + } + steps { + sh ''' + wget -q -O - https://github.com/cli/cli/releases/download/v1.6.2/gh_1.6.2_linux_amd64.tar.gz | tar xzf - + ./gh_1.6.2_linux_amd64/bin/gh auth status + wget -q -O - https://github.com/git-chglog/git-chglog/releases/download/v0.10.0/git-chglog_0.10.0_linux_amd64.tar.gz | tar xzf - + #export PREV_TAG=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`) + #export TAG_NAME=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=0 --max-count=1`) + ./git-chglog --output CHANGELOG.md $TAG_NAME + ''' + sh './gh_1.6.2_linux_amd64/bin/gh release -R $GIT_URL create $TAG_NAME --title $TAG_NAME -F CHANGELOG.md -d ' + output_files.collect { "target/release/$it" }.join(' ') + } + } } } diff --git a/README.md b/README.md index 6f0d58f9d..64be34030 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@
- Oracle, Vault & Staked Relayer + Faucet, Oracle, Vault & Staked Relayer
@@ -20,7 +20,7 @@ Download and start [Bitcoin Core](https://bitcoin.org/en/bitcoin-core/): bitcoind -regtest -server ``` -Build and run the [PolkaBTC Parachain](https://gitlab.com/interlay/btc-parachain): +Build and run the [PolkaBTC Parachain](https://github.com/interlay/btc-parachain): ``` git clone git@gitlab.com:interlay/btc-parachain.git diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml index 4891efb46..5951b4858 100644 --- a/bitcoin/Cargo.toml +++ b/bitcoin/Cargo.toml @@ -1,9 +1,16 @@ [package] name = "bitcoin" -version = "0.2.0" +version = "0.5.0" authors = ["Interlay;
@@ -219,10 +208,11 @@ mod tests {
) -> Result<(), Error>;
async fn get_best_block_hash(&self) -> Result ;
+ async fn get_new_public_key ;
async fn add_new_deposit_key (&self, public_key: P) -> Result {
+ async fn get_new_public_key {
let address = self.rpc.get_new_address(None, Some(AddressType::Bech32))?;
let address_info = self.rpc.get_address_info(&address)?;
let public_key = address_info.pubkey.ok_or(Error::MissingPublicKey)?;
@@ -340,10 +379,8 @@ impl BitcoinCoreApi for BitcoinCore {
let address = Address::p2wpkh(&PublicKey::from_slice(&public_key.into())?, self.network)
.map_err(|err| ConversionError::from(err))?;
let private_key = self.rpc.dump_private_key(&address)?;
- let deposit_secret_key = addr::calculate_deposit_secret_key(
- private_key.key,
- SecretKey::from_slice(&secret_key)?,
- )?;
+ let deposit_secret_key =
+ addr::calculate_deposit_secret_key(private_key.key, SecretKey::from_slice(&secret_key)?)?;
self.rpc.import_private_key(
&PrivateKey {
compressed: private_key.compressed,
@@ -365,6 +402,10 @@ impl BitcoinCoreApi for BitcoinCore {
Ok(self.rpc.get_block(hash)?)
}
+ async fn get_block_header(&self, hash: &BlockHash) -> Result