Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
hypersdk@v0.0.1 (#16)
Browse files Browse the repository at this point in the history
* update hypersdk dependency

* update to v0.0.1

* always run sync test
  • Loading branch information
patrick-ogrady authored Feb 21, 2023
1 parent 9b2311a commit 899a2cc
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sync-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
push:
branches:
- main
tags:
- "*"
pull_request:

jobs:
tests:
Expand Down
2 changes: 1 addition & 1 deletion examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/ava-labs/avalanchego v1.9.8
github.com/ava-labs/hypersdk v0.0.0-20230220192118-d5fb6880f537
github.com/ava-labs/hypersdk v0.0.1
github.com/ava-labs/indexvm v0.0.0-20230220193510-db59209b4038
github.com/briandowns/spinner v1.19.0
github.com/gorilla/rpc v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions examples/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj
github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A=
github.com/ava-labs/avalanchego v1.9.8 h1:5SHKqkWpBn9Pqxg2qpzDZ7FQqYFapzaCZwArapBdqAA=
github.com/ava-labs/avalanchego v1.9.8/go.mod h1:t9+R55TgRJxYCekRf/EicIjHBeeEQT04TQxpaF98+yM=
github.com/ava-labs/hypersdk v0.0.0-20230220192118-d5fb6880f537 h1:+zRZ9jPbb5f7XTlEg1RQWj5PNk9lFqjGKsxlOFkpU5U=
github.com/ava-labs/hypersdk v0.0.0-20230220192118-d5fb6880f537/go.mod h1:RofBf7rbnRV6phWDHaLpwNabvGq31h79R0BTfpIv2xk=
github.com/ava-labs/hypersdk v0.0.1 h1:lVNJVzj1PsP8QzNToDb+jN+A2+lEHCgCHjnIO1OnFd8=
github.com/ava-labs/hypersdk v0.0.1/go.mod h1:RofBf7rbnRV6phWDHaLpwNabvGq31h79R0BTfpIv2xk=
github.com/ava-labs/indexvm v0.0.0-20230220193510-db59209b4038 h1:FRQM7gxI7u/kxbhy/Ei3DB1Ixdh7igNayFbXdJgvfCo=
github.com/ava-labs/indexvm v0.0.0-20230220193510-db59209b4038/go.mod h1:ciye+N8SziWrCNr0l+EFi5TqgbkWzmHElqo2qysF5vk=
github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.18
require (
github.com/ava-labs/avalanche-network-runner v1.3.5
github.com/ava-labs/avalanchego v1.9.8
github.com/ava-labs/hypersdk v0.0.0-20230220192118-d5fb6880f537
github.com/ava-labs/hypersdk v0.0.1
github.com/fatih/color v1.13.0
github.com/onsi/ginkgo/v2 v2.6.1
github.com/onsi/gomega v1.24.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ github.com/ava-labs/avalanchego v1.9.8 h1:5SHKqkWpBn9Pqxg2qpzDZ7FQqYFapzaCZwArap
github.com/ava-labs/avalanchego v1.9.8/go.mod h1:t9+R55TgRJxYCekRf/EicIjHBeeEQT04TQxpaF98+yM=
github.com/ava-labs/coreth v0.11.7-rc.0 h1:C+6vtAqBz3KrGyuSeZSwYeFTNalCKxxLdClWaFGAUIY=
github.com/ava-labs/coreth v0.11.7-rc.0/go.mod h1:e7SuEq6g3+YWyNPiznJF6KnnAuc0HCXxiSshMNj52Sw=
github.com/ava-labs/hypersdk v0.0.0-20230220192118-d5fb6880f537 h1:+zRZ9jPbb5f7XTlEg1RQWj5PNk9lFqjGKsxlOFkpU5U=
github.com/ava-labs/hypersdk v0.0.0-20230220192118-d5fb6880f537/go.mod h1:RofBf7rbnRV6phWDHaLpwNabvGq31h79R0BTfpIv2xk=
github.com/ava-labs/hypersdk v0.0.1 h1:lVNJVzj1PsP8QzNToDb+jN+A2+lEHCgCHjnIO1OnFd8=
github.com/ava-labs/hypersdk v0.0.1/go.mod h1:RofBf7rbnRV6phWDHaLpwNabvGq31h79R0BTfpIv2xk=
github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g=
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
Expand Down
1 change: 0 additions & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ MODE=${MODE:-run}
LOGLEVEL=${LOGLEVEL:-info}
STATESYNC_DELAY=${STATESYNC_DELAY:-0}
if [[ ${MODE} != "run" ]]; then
LOGLEVEL="debug"
STATESYNC_DELAY=500000000 # 500ms
fi

Expand Down
6 changes: 0 additions & 6 deletions tests/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1424,12 +1424,6 @@ var _ = ginkgo.Describe("[Tx Processing]", func() {
result = results[0]
gomega.Ω(result.Success).Should(gomega.BeTrue())
})

ginkgo.It("waits for async acceptor to catch up", func() {
// TODO: make this more robust
// (https://github.com/ava-labs/hypersdk/issues/7)
time.Sleep(5 * time.Second)
})
})

func expectBlk(i instance) func() []*chain.Result {
Expand Down

0 comments on commit 899a2cc

Please sign in to comment.