feat(collections): Initialise core (Prefix, KeyEncoder, ValueEncoder, Map) (#14134)

Co-authored-by: testinginprod <testinginprod@somewhere.idk>
Co-authored-by: Aaron Craelius <aaron@regen.network>
This commit is contained in:
testinginprod
2022-12-08 15:57:21 +00:00
committed by GitHub
co-authored by testinginprod Aaron Craelius
parent bd59987df1
commit fca24b6687
14 changed files with 932 additions and 0 deletions
+22
View File
@@ -492,6 +492,28 @@ jobs:
with:
projectBaseDir: tools/rosetta/
test-collections:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.4
cache: true
cache-dependency-path: collections/go.sum
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
collections/**/*.go
collections/go.mod
collections/go.sum
- name: tests
if: env.GIT_DIFF
run: |
cd collections
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb_build' ./...
test-cosmovisor:
runs-on: ubuntu-latest
steps: