Skip to content

Commit

Permalink
Implement dump state (#1214)
Browse files Browse the repository at this point in the history
* Implement dump state

* Fix err

* Drop dumpstate binary

* Fix linter errs

* Dump addresses as bech32

* Fix linter err

* Fix escrow amount

* Make contract addresses bech32

* Revert "Make contract addresses bech32"

This reverts commit 8d8c04e.

* Make contract signatures bech32

Co-authored-by: Dave Puchyr <dave@debt.avaritia.com>
  • Loading branch information
orkunkl and Dave Puchyr committed May 24, 2020
1 parent f85ef32 commit 17709cc
Show file tree
Hide file tree
Showing 15 changed files with 7,110 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/dumpstate/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!*.db
dumpstate
7 changes: 7 additions & 0 deletions cmd/dumpstate/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: build test

build:
CGO_ENABLED=0 go build -mod=readonly -o dumpstate .

test:
go test -mod=readonly . -v -race

0 comments on commit 17709cc

Please sign in to comment.