Skip to content

Commit

Permalink
M2M (#61)
Browse files Browse the repository at this point in the history
* feat: relayers must now be authorized (#1)

Signed-off-by: Gregory Hill <[email protected]>

* feat: add polkadot types to core

Signed-off-by: Gregory Hill <[email protected]>

* refactor: renable concurrent signing on rpc

Signed-off-by: Gregory Hill <[email protected]>

* feat: scripts to register multiple vaults & staked relayers (#5)

Signed-off-by: Gregory Hill <[email protected]>

* refactor: update readmes, enable tls for faucet conn, improve docker-compose

Signed-off-by: Gregory Hill <[email protected]>

* feat: staked-relayer and vault clients now wait for Bitcoin to sync

Signed-off-by: Gregory Hill <[email protected]>

* Chore: create github release for tagged commits (#6)

* Chore: remove gitlab dependencies from Jenkinsfile

* Chore: create github release for tagged commits

* Chore: create github release for tagged commits

* Chore: create github release for tagged commits

Co-authored-by: ns212 <ns212>

* fix: add VaultStatus to core types

Signed-off-by: Gregory Hill <[email protected]>

* Chore: fix path to gh binary in Jenkinsfile

* chore: remove docker-compose files

Signed-off-by: Gregory Hill <[email protected]>

* fix: update btc_relay and sla event types

Signed-off-by: Gregory Hill <[email protected]>

* fix: gitlab -> github

Signed-off-by: Gregory Hill <[email protected]>

* fix: establish parachain connection after bitcoind sync to avoid timeout

Signed-off-by: Gregory Hill <[email protected]>

* feat: require a configurable amount of confirmations before relaying block

* chore: remove unmaintained helm charts

Signed-off-by: Gregory Hill <[email protected]>

* chore: log received errors as DEBUG rather than ERROR

* feat: add more logging to faucet client

Signed-off-by: Gregory Hill <[email protected]>

* feat: add info logs before and after parachain connect

Signed-off-by: Gregory Hill <[email protected]>

* feat: connect to parachain with retry

Signed-off-by: Gregory Hill <[email protected]>

* feat: connect to bitcoin with retry

Signed-off-by: Gregory Hill <[email protected]>

* fix(staked-relayer): prettier exit response

Signed-off-by: Gregory Hill <[email protected]>

* refactor: move runtime types to separate file

Signed-off-by: Gregory Hill <[email protected]>

* refactor: better system health check with timeout

Signed-off-by: Gregory Hill <[email protected]>

* feat(faucet): Optimize funding

* fix(vault): prettier exit response

Signed-off-by: Gregory Hill <[email protected]>

* feat: check for old redeem requests in vault system health check

Signed-off-by: Gregory Hill <[email protected]>

* chore: bump jsonrpsee to get bigger buffer size to hopefully prevent freezes

* refactor: align http json-rpc impls, calls now async

Signed-off-by: Gregory Hill <[email protected]>

* refactor: env_logger should default to info if unset

Signed-off-by: Gregory Hill <[email protected]>

* refactor: centralize faucet logic, only fund if not registered

Signed-off-by: Gregory Hill <[email protected]>

* fix(oracle): reconnect to parachain for every exchange rate submission

* fix: check issue amount for attempting to execute

* fix: only consider finalized blocks for reading storage

* fix: await relaying of block before attempting to execute it

* chore: update parachain testing dep to newest version

* chore: upgrade to jsonrpsee-v2

Signed-off-by: Gregory Hill <[email protected]>

* fix: don't start the vault if liquidated

Signed-off-by: Gregory Hill <[email protected]>

* chore: upgrade jsonrpsee-v2 and subxt

Signed-off-by: Gregory Hill <[email protected]>

* fix: return only active vaults (for liquidation)

Signed-off-by: Gregory Hill <[email protected]>

* fix: increase max_concurrent_requests to 1024

Signed-off-by: Gregory Hill <[email protected]>

* fix: use correct vault amount in auction replace check

Signed-off-by: Gregory Hill <[email protected]>

* refactor: move relayer-core to staked-relayer crate

Signed-off-by: Gregory Hill <[email protected]>

* refactor: simplify usage of arc

Signed-off-by: Gregory Hill <[email protected]>

* refactor: match duplicate block relay error and log

Signed-off-by: Gregory Hill <[email protected]>

* feat: handle reconnects in staked-relayer client

Signed-off-by: Gregory Hill <[email protected]>

* feat: handle reconnects in faucet client

Signed-off-by: Gregory Hill <[email protected]>

* feat: handle reconnects in vault client

Signed-off-by: Gregory Hill <[email protected]>

* fix: re-enable execution tests

Signed-off-by: Gregory Hill <[email protected]>

* refactor: cli options for manager can be reused

Signed-off-by: Gregory Hill <[email protected]>

* chore: tidy up dependencies

Signed-off-by: Gregory Hill <[email protected]>

* chore: add rustfmt config

Signed-off-by: Gregory Hill <[email protected]>

* fix: subscription id not dropped if max notifs exceeded

Signed-off-by: Gregory Hill <[email protected]>

* fix: match issue completed error and log info

Signed-off-by: Gregory Hill <[email protected]>

* fix: debug log if vault has insufficient funds on auction replace

Signed-off-by: Gregory Hill <[email protected]>

* chore: point to parachain master

Signed-off-by: Gregory Hill <[email protected]>

Co-authored-by: ns212 <[email protected]>
Co-authored-by: ns212 <ns212>
Co-authored-by: Sander Bosma <[email protected]>
Co-authored-by: Daniel Savu <[email protected]>
  • Loading branch information
4 people authored Mar 16, 2021
1 parent dad57a4 commit f92c3dc
Show file tree
Hide file tree
Showing 105 changed files with 5,552 additions and 5,266 deletions.
22 changes: 22 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ 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 -}}
27 changes: 27 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 0 additions & 21 deletions .deploy/charts/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions .deploy/charts/oracle/.helmignore

This file was deleted.

7 changes: 0 additions & 7 deletions .deploy/charts/oracle/Chart.yaml

This file was deleted.

63 changes: 0 additions & 63 deletions .deploy/charts/oracle/templates/_helpers.tpl

This file was deleted.

13 changes: 0 additions & 13 deletions .deploy/charts/oracle/templates/_settings.yaml

This file was deleted.

55 changes: 0 additions & 55 deletions .deploy/charts/oracle/templates/deployment.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions .deploy/charts/oracle/templates/serviceaccount.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions .deploy/charts/oracle/values.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions .deploy/charts/staked-relayer/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions .deploy/charts/staked-relayer/Chart.lock

This file was deleted.

9 changes: 0 additions & 9 deletions .deploy/charts/staked-relayer/Chart.yaml

This file was deleted.

Loading

0 comments on commit f92c3dc

Please sign in to comment.