diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a084a3..a1f5f65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,11 +3,11 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: - go-version: '1.20' - - uses: aviate-labs/setup-dfx@v0.2.3 + go-version: '1.21.0' + - uses: aviate-labs/setup-dfx@v0.2.6 with: - dfx-version: 0.13.1 + dfx-version: 0.15.1 - run: make test diff --git a/candid/idl/tdt.go b/candid/idl/tdt.go index 965457d..441bbc9 100644 --- a/candid/idl/tdt.go +++ b/candid/idl/tdt.go @@ -1,7 +1,7 @@ package idl import ( - "golang.org/x/exp/slices" + "slices" ) type TypeDefinitionTable struct { diff --git a/certificate/certificate.go b/certificate/certificate.go index 6812743..b95805b 100644 --- a/certificate/certificate.go +++ b/certificate/certificate.go @@ -5,7 +5,7 @@ import ( "github.com/aviate-labs/agent-go/certificate/bls" "github.com/aviate-labs/agent-go/principal" "github.com/fxamacker/cbor/v2" - "golang.org/x/exp/slices" + "slices" ) // Cert is a certificate gets returned by the IC. diff --git a/go.mod b/go.mod index e1c0423..c64ff17 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,13 @@ module github.com/aviate-labs/agent-go -go 1.20 +go 1.21.0 require ( github.com/aviate-labs/leb128 v0.3.0 github.com/aviate-labs/secp256k1 v0.0.0-5e6736a github.com/di-wu/parser v0.3.0 - github.com/fxamacker/cbor/v2 v2.4.0 - github.com/herumi/bls-go-binary v1.28.2 - golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc + github.com/fxamacker/cbor/v2 v2.5.0 + github.com/herumi/bls-go-binary v1.32.0 ) require github.com/x448/float16 v0.8.4 // indirect diff --git a/go.sum b/go.sum index ce40b82..a94b23b 100644 --- a/go.sum +++ b/go.sum @@ -4,11 +4,9 @@ github.com/aviate-labs/secp256k1 v0.0.0-5e6736a h1:aQkG/D+l8Y7tr809l8pN+KebH2jza github.com/aviate-labs/secp256k1 v0.0.0-5e6736a/go.mod h1:C/lr3F9TimrVkdZckG5mz+VU0TrmpeyVKUjzv2YyGwA= github.com/di-wu/parser v0.3.0 h1:NMOvy5ifswgt4gsdhySVcKOQtvjC43cHZIfViWctqQY= github.com/di-wu/parser v0.3.0/go.mod h1:SLp58pW6WamdmznrVRrw2NTyn4wAvT9rrEFynKX7nYo= -github.com/fxamacker/cbor/v2 v2.4.0 h1:ri0ArlOR+5XunOP8CRUowT0pSJOwhW098ZCUyskZD88= -github.com/fxamacker/cbor/v2 v2.4.0/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo= -github.com/herumi/bls-go-binary v1.28.2 h1:F0AezsC0M1a9aZjk7g0l2hMb1F56Xtpfku97pDndNZE= -github.com/herumi/bls-go-binary v1.28.2/go.mod h1:O4Vp1AfR4raRGwFeQpr9X/PQtncEicMoOe6BQt1oX0Y= +github.com/fxamacker/cbor/v2 v2.5.0 h1:oHsG0V/Q6E/wqTS2O1Cozzsy69nqCiguo5Q1a1ADivE= +github.com/fxamacker/cbor/v2 v2.5.0/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo= +github.com/herumi/bls-go-binary v1.32.0 h1:QX0+mmrCyBNpaVwYahl85yWnxYKDPpNAPIZWOIpP+eU= +github.com/herumi/bls-go-binary v1.32.0/go.mod h1:O4Vp1AfR4raRGwFeQpr9X/PQtncEicMoOe6BQt1oX0Y= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= -golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU= -golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/identity/secp256k1.go b/identity/secp256k1.go index 159e349..55a6e63 100644 --- a/identity/secp256k1.go +++ b/identity/secp256k1.go @@ -9,7 +9,7 @@ import ( "fmt" "github.com/aviate-labs/agent-go/principal" "github.com/aviate-labs/secp256k1" - "golang.org/x/exp/slices" + "slices" ) var secp256k1OID = asn1.ObjectIdentifier{1, 3, 132, 0, 10}