Skip to content

Commit

Permalink
Bump PocketIC version.
Browse files Browse the repository at this point in the history
  • Loading branch information
q-uint committed May 3, 2024
1 parent f812adf commit 3eb62fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
- uses: aviate-labs/[email protected]
with:
dfx-version: 0.18.0
pocket-ic-version: release-2024-04-24_23-01-base
pocket-ic-version: 4.0.0
- run: mv ic/testdata/networks.json $HOME/.config/dfx/networks.json
- run: make test
2 changes: 1 addition & 1 deletion pocketic/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func newServer(opts ...serverOption) (*server, error) {
return nil, fmt.Errorf("failed to get pocket-ic version: %v", err)
}
version := strings.TrimPrefix(strings.TrimSpace(string(rawVersion)), "pocket-ic-server ")
if !strings.HasPrefix(version, "3.") {
if !strings.HasPrefix(version, "4.") {
return nil, fmt.Errorf("unsupported pocket-ic version, must be v3.x: %s", version)
}

Expand Down

0 comments on commit 3eb62fc

Please sign in to comment.