Skip to content

Commit 392bc1f

Browse files
committed
PR(MAIN): Migrate SourceHub dependency to Vera
Pin Vera module with a matching published container image, then update the SDK imports and runtime fixtures. NOTE: this is likely a breaking change as remote ACP connections must target Vera-compatible nodes now.
1 parent ea01e63 commit 392bc1f

6 files changed

Lines changed: 61 additions & 50 deletions

File tree

acp/dac/source_hub.go

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import (
2525
acpErrors "github.com/sourcenetwork/acp_core/pkg/errors"
2626
coreTypes "github.com/sourcenetwork/acp_core/pkg/types"
2727
"github.com/sourcenetwork/immutable"
28-
sourcehub "github.com/sourcenetwork/sourcehub/sdk"
29-
sourcehubTypes "github.com/sourcenetwork/sourcehub/x/acp/types"
28+
vera "github.com/sourcenetwork/vera/sdk"
29+
veraTypes "github.com/sourcenetwork/vera/x/acp/types"
3030

3131
"github.com/sourcenetwork/defradb/acp/identity"
3232
acpTypes "github.com/sourcenetwork/defradb/acp/types"
@@ -36,7 +36,7 @@ func NewSourceHubACP(
3636
chainID string,
3737
grpcAddress string,
3838
cometRPCAddress string,
39-
signer sourcehub.TxSigner,
39+
signer vera.TxSigner,
4040
) (DocumentACP, error) {
4141
acpSourceHub, err := NewACPSourceHub(chainID, grpcAddress, cometRPCAddress, signer)
4242
if err != nil {
@@ -49,29 +49,29 @@ func NewSourceHubACP(
4949
}
5050

5151
type SourceHubDocumentACP struct {
52-
client *sourcehub.Client
53-
txBuilder *sourcehub.TxBuilder
54-
signer sourcehub.TxSigner
52+
client *vera.Client
53+
txBuilder *vera.TxBuilder
54+
signer vera.TxSigner
5555
}
5656

5757
func NewACPSourceHub(
5858
chainID string,
5959
grpcAddress string,
6060
cometRPCAddress string,
61-
signer sourcehub.TxSigner,
61+
signer vera.TxSigner,
6262
) (*SourceHubDocumentACP, error) {
63-
client, err := sourcehub.NewClient(
64-
sourcehub.WithGRPCAddr(grpcAddress),
65-
sourcehub.WithCometRPCAddr(cometRPCAddress),
63+
client, err := vera.NewClient(
64+
vera.WithGRPCAddr(grpcAddress),
65+
vera.WithCometRPCAddr(cometRPCAddress),
6666
)
6767
if err != nil {
6868
return nil, err
6969
}
7070

71-
txBuilder, err := sourcehub.NewTxBuilder(
72-
sourcehub.WithSDKClient(client),
73-
sourcehub.WithChainID(chainID),
74-
sourcehub.WithGasLimit(400000),
71+
txBuilder, err := vera.NewTxBuilder(
72+
vera.WithSDKClient(client),
73+
vera.WithChainID(chainID),
74+
vera.WithGasLimit(400000),
7575
)
7676
if err != nil {
7777
return nil, err
@@ -95,9 +95,9 @@ func (a *SourceHubDocumentACP) AddPolicy(
9595
policyMarshalType acpTypes.PolicyMarshalType,
9696
creationTime *protoTypes.Timestamp,
9797
) (string, error) {
98-
msgSet := sourcehub.MsgSet{}
98+
msgSet := vera.MsgSet{}
9999
policyMapper := msgSet.WithCreatePolicy(
100-
sourcehubTypes.NewMsgCreatePolicy(
100+
veraTypes.NewMsgCreatePolicy(
101101
a.signer.GetAccAddress(),
102102
policy,
103103
coreTypes.PolicyMarshalingType(policyMarshalType),
@@ -135,7 +135,7 @@ func (a *SourceHubDocumentACP) Policy(
135135
) (immutable.Option[acpTypes.Policy], error) {
136136
response, err := a.client.ACPQueryClient().Policy(
137137
ctx,
138-
&sourcehubTypes.QueryPolicyRequest{Id: policyID},
138+
&veraTypes.QueryPolicyRequest{Id: policyID},
139139
)
140140
if err != nil {
141141
// todo: https://github.com/sourcenetwork/defradb/issues/2826
@@ -202,12 +202,12 @@ func (a *SourceHubDocumentACP) RegisterObject(
202202
return identity.ErrMustBeTokenIdentity
203203
}
204204

205-
msgSet := sourcehub.MsgSet{}
206-
cmdMapper := msgSet.WithBearerPolicyCmd(&sourcehubTypes.MsgBearerPolicyCmd{
205+
msgSet := vera.MsgSet{}
206+
cmdMapper := msgSet.WithBearerPolicyCmd(&veraTypes.MsgBearerPolicyCmd{
207207
Creator: a.signer.GetAccAddress(),
208208
BearerToken: tokenIdentity.BearerToken(),
209209
PolicyId: policyID,
210-
Cmd: sourcehubTypes.NewRegisterObjectCmd(coreTypes.NewObject(resourceName, objectID)),
210+
Cmd: veraTypes.NewRegisterObjectCmd(coreTypes.NewObject(resourceName, objectID)),
211211
})
212212
tx, err := a.txBuilder.Build(ctx, a.signer, &msgSet)
213213
if err != nil {
@@ -241,7 +241,7 @@ func (a *SourceHubDocumentACP) ObjectOwner(
241241

242242
resp, err := a.client.ACPQueryClient().ObjectOwner(
243243
ctx,
244-
&sourcehubTypes.QueryObjectOwnerRequest{
244+
&veraTypes.QueryObjectOwnerRequest{
245245
PolicyId: policyID,
246246
Object: coreTypes.NewObject(resourceName, objectID),
247247
},
@@ -269,7 +269,7 @@ func (a *SourceHubDocumentACP) VerifyAccessRequest(
269269

270270
checkDocResponse, err := a.client.ACPQueryClient().VerifyAccessRequest(
271271
ctx,
272-
&sourcehubTypes.QueryVerifyAccessRequestRequest{
272+
&veraTypes.QueryVerifyAccessRequestRequest{
273273
PolicyId: policyID,
274274
AccessRequest: &coreTypes.AccessRequest{
275275
Operations: []*coreTypes.Operation{
@@ -317,7 +317,7 @@ func (a *SourceHubDocumentACP) AddActorRelationship(
317317
return false, identity.ErrMustBeTokenIdentity
318318
}
319319

320-
msgSet := sourcehub.MsgSet{}
320+
msgSet := vera.MsgSet{}
321321

322322
var newActorRelationship *coreTypes.Relationship
323323
if targetActor == "*" {
@@ -335,11 +335,11 @@ func (a *SourceHubDocumentACP) AddActorRelationship(
335335
)
336336
}
337337

338-
cmdMapper := msgSet.WithBearerPolicyCmd(&sourcehubTypes.MsgBearerPolicyCmd{
338+
cmdMapper := msgSet.WithBearerPolicyCmd(&veraTypes.MsgBearerPolicyCmd{
339339
Creator: a.signer.GetAccAddress(),
340340
BearerToken: tokenIdentity.BearerToken(),
341341
PolicyId: policyID,
342-
Cmd: sourcehubTypes.NewSetRelationshipCmd(newActorRelationship),
342+
Cmd: veraTypes.NewSetRelationshipCmd(newActorRelationship),
343343
})
344344
tx, err := a.txBuilder.Build(ctx, a.signer, &msgSet)
345345
if err != nil {
@@ -384,7 +384,7 @@ func (a *SourceHubDocumentACP) DeleteActorRelationship(
384384
return false, identity.ErrMustBeTokenIdentity
385385
}
386386

387-
msgSet := sourcehub.MsgSet{}
387+
msgSet := vera.MsgSet{}
388388

389389
var newActorRelationship *coreTypes.Relationship
390390
if targetActor == "*" {
@@ -402,11 +402,11 @@ func (a *SourceHubDocumentACP) DeleteActorRelationship(
402402
)
403403
}
404404

405-
cmdMapper := msgSet.WithBearerPolicyCmd(&sourcehubTypes.MsgBearerPolicyCmd{
405+
cmdMapper := msgSet.WithBearerPolicyCmd(&veraTypes.MsgBearerPolicyCmd{
406406
Creator: a.signer.GetAccAddress(),
407407
BearerToken: tokenIdentity.BearerToken(),
408408
PolicyId: policyID,
409-
Cmd: sourcehubTypes.NewDeleteRelationshipCmd(newActorRelationship),
409+
Cmd: veraTypes.NewDeleteRelationshipCmd(newActorRelationship),
410410
})
411411
tx, err := a.txBuilder.Build(ctx, a.signer, &msgSet)
412412
if err != nil {

acp/identity/identity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323
// field containing the authorized account.
2424
//
2525
// This must be the same as `AuthorizedAccountClaim`
26-
// defined in github.com/sourcenetwork/sourcehub/x/acp/types
26+
// defined in github.com/sourcenetwork/vera/x/acp/bearer_token
2727
//
2828
// The type cannot be directly referenced here due
2929
// to compilation issues with JS targets.

go.mod

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ require (
4040
github.com/onsi/gomega v1.42.1
4141
github.com/philippgille/chromem-go v0.7.0
4242
github.com/pkg/errors v0.9.1
43-
github.com/sourcenetwork/acp_core v0.8.1
43+
github.com/sourcenetwork/acp_core v0.8.2
4444
github.com/sourcenetwork/corekv v0.3.2
4545
github.com/sourcenetwork/corekv/badger v0.3.1
4646
github.com/sourcenetwork/corekv/blockstore v0.3.1
@@ -54,8 +54,8 @@ require (
5454
github.com/sourcenetwork/graphql-go v0.7.10-0.20260603160416-fba12ae14d3b
5555
github.com/sourcenetwork/immutable v0.3.0
5656
github.com/sourcenetwork/lens/host-go v0.11.0
57-
github.com/sourcenetwork/sourcehub v0.4.1-0.20260128164915-1bce44032618
5857
github.com/sourcenetwork/testo v0.2.0
58+
github.com/sourcenetwork/vera v0.4.1-0.20260827134642-8c1a760f2f83
5959
github.com/spf13/cobra v1.10.2
6060
github.com/spf13/pflag v1.0.10
6161
github.com/spf13/viper v1.21.0
@@ -176,6 +176,7 @@ require (
176176
github.com/cockroachdb/tokenbucket v0.0.0-20250429170803-42689b6311bb // indirect
177177
github.com/cometbft/cometbft v0.38.21 // indirect
178178
github.com/cometbft/cometbft-db v0.14.1 // indirect
179+
github.com/consensys/gnark-crypto v0.19.2 // indirect
179180
github.com/containerd/errdefs v1.0.0 // indirect
180181
github.com/containerd/errdefs/pkg v0.3.0 // indirect
181182
github.com/containerd/log v0.1.0 // indirect
@@ -209,7 +210,7 @@ require (
209210
github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect
210211
github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect
211212
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
212-
github.com/ethereum/go-ethereum v1.17.0 // indirect
213+
github.com/ethereum/go-ethereum v1.17.2 // indirect
213214
github.com/fatih/color v1.18.0 // indirect
214215
github.com/felixge/httpsnoop v1.0.4 // indirect
215216
github.com/filecoin-project/go-clock v0.1.0 // indirect
@@ -332,6 +333,7 @@ require (
332333
github.com/minio/sha256-simd v1.0.1 // indirect
333334
github.com/mitchellh/go-homedir v1.1.0 // indirect
334335
github.com/mitchellh/mapstructure v1.5.0 // indirect
336+
github.com/mizufinance/decaf377-go v0.2.0 // indirect
335337
github.com/moby/docker-image-spec v1.3.1 // indirect
336338
github.com/moby/go-archive v0.3.0 // indirect
337339
github.com/moby/moby/api v1.54.2 // indirect
@@ -407,15 +409,16 @@ require (
407409
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
408410
github.com/sourcenetwork/go-libp2p-pubsub-rpc v0.0.14 // indirect
409411
github.com/sourcenetwork/goleveldb v0.0.0-20251217012629-27249d06b81b // indirect
410-
github.com/sourcenetwork/raccoondb v0.2.1-0.20240722161350-d4a78b691ec8 // indirect
412+
github.com/sourcenetwork/raccoondb v0.2.1-0.20260514175348-017fdf639300 // indirect
411413
github.com/sourcenetwork/raccoondb/v2 v2.0.0 // indirect
412-
github.com/sourcenetwork/zanzi v0.3.1-0.20251104182341-4b1bd0f7be5a // indirect
414+
github.com/sourcenetwork/zanzi v0.3.1-0.20260731133738-53cb4f16fe3e // indirect
413415
github.com/spaolacci/murmur3 v1.1.0 // indirect
414416
github.com/spf13/afero v1.15.0 // indirect
415417
github.com/spf13/cast v1.10.0 // indirect
416418
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
417419
github.com/stretchr/objx v0.5.3 // indirect
418420
github.com/subosito/gotenv v1.6.0 // indirect
421+
github.com/supranational/blst v0.3.16 // indirect
419422
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
420423
github.com/tendermint/go-amino v0.16.0 // indirect
421424
github.com/tendermint/tendermint v0.35.9 // indirect

go.sum

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,8 @@ github.com/cometbft/cometbft v0.38.21 h1:qcIJSH9LiwU5s6ZgKR5eRbsLNucbubfraDs5bzg
425425
github.com/cometbft/cometbft v0.38.21/go.mod h1:UCu8dlHqvkAsmAFmWDRWNZJPlu6ya2fTWZlDrWsivwo=
426426
github.com/cometbft/cometbft-db v0.14.1 h1:SxoamPghqICBAIcGpleHbmoPqy+crij/++eZz3DlerQ=
427427
github.com/cometbft/cometbft-db v0.14.1/go.mod h1:KHP1YghilyGV/xjD5DP3+2hyigWx0WTp9X+0Gnx0RxQ=
428+
github.com/consensys/gnark-crypto v0.19.2 h1:qrEAIXq3T4egxqiliFFoNrepkIWVEeIYwt3UL0fvS80=
429+
github.com/consensys/gnark-crypto v0.19.2/go.mod h1:rT23F0XSZqE0mUA0+pRtnL56IbPxs6gp4CeRsBk4XS0=
428430
github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U=
429431
github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg=
430432
github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM=
@@ -586,8 +588,8 @@ github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDD
586588
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
587589
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
588590
github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0=
589-
github.com/ethereum/go-ethereum v1.17.0 h1:2D+1Fe23CwZ5tQoAS5DfwKFNI1HGcTwi65/kRlAVxes=
590-
github.com/ethereum/go-ethereum v1.17.0/go.mod h1:2W3msvdosS/MCWytpqTcqgFiRYbTH59FxDJzqah120o=
591+
github.com/ethereum/go-ethereum v1.17.2 h1:ag6geu0kn8Hv5FLKTpH+Hm2DHD+iuFtuqKxEuwUsDOI=
592+
github.com/ethereum/go-ethereum v1.17.2/go.mod h1:KHcRXfGOUfUmKg51IhQ0IowiqZ6PqZf08CMtk0g5K1o=
591593
github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY=
592594
github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU=
593595
github.com/evanphx/json-patch/v5 v5.9.11/go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM=
@@ -864,8 +866,8 @@ github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLe
864866
github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
865867
github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
866868
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
867-
github.com/google/pprof v0.0.0-20250202011525-fc3143867406 h1:wlQI2cYY0BsWmmPPAnxfQ8SDW0S3Jasn+4B8kXFxprg=
868-
github.com/google/pprof v0.0.0-20250202011525-fc3143867406/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
869+
github.com/google/pprof v0.0.0-20250820193118-f64d9cf942d6 h1:EEHtgt9IwisQ2AZ4pIsMjahcegHh6rmhqxzIRQIyepY=
870+
github.com/google/pprof v0.0.0-20250820193118-f64d9cf942d6/go.mod h1:I6V7YzU0XDpsHqbsyrghnFZLO1gwK6NPTNvmetQIk9U=
869871
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
870872
github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0=
871873
github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM=
@@ -1200,6 +1202,8 @@ github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+
12001202
github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg=
12011203
github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0=
12021204
github.com/ldez/tagliatelle v0.3.1/go.mod h1:8s6WJQwEYHbKZDsp/LjArytKOG8qaMrKQQ3mFukHs88=
1205+
github.com/leanovate/gopter v0.2.11 h1:vRjThO1EKPb/1NsDXuDrzldR28RLkBflWYcU9CvzWu4=
1206+
github.com/leanovate/gopter v0.2.11/go.mod h1:aK3tzZP/C+p1m3SPRE4SYZFGP7jjkuSI4f7Xvpt0S9c=
12031207
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
12041208
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
12051209
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
@@ -1356,6 +1360,8 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua
13561360
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
13571361
github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
13581362
github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
1363+
github.com/mizufinance/decaf377-go v0.2.0 h1:izT9ymso5nOvn3YtQk4RipU/hQm950d/WfDBZFklm/0=
1364+
github.com/mizufinance/decaf377-go v0.2.0/go.mod h1:tApKZYqMgt6XZW7EWvPolaHxD1Adp4b2Ub1XxZxje9w=
13591365
github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=
13601366
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
13611367
github.com/moby/go-archive v0.3.0 h1:nos4BtzzUIqB406BgQnWGMI4qib9BZ8XUHU+ucv/n1c=
@@ -1761,8 +1767,8 @@ github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJ
17611767
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 h1:+jumHNA0Wrelhe64i8F6HNlS8pkoyMv5sreGx2Ry5Rw=
17621768
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8/go.mod h1:3n1Cwaq1E1/1lhQhtRK2ts/ZwZEhjcQeJQ1RuC6Q/8U=
17631769
github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
1764-
github.com/sourcenetwork/acp_core v0.8.1 h1:xCbFGs9HqQTG/LjfNa7aoD8dc6XhIYLgRdZCQrRcML0=
1765-
github.com/sourcenetwork/acp_core v0.8.1/go.mod h1:vmxU/mBphMaU2NjKYEFJLSpk5lbRdWDqgsJZNd+WfZ0=
1770+
github.com/sourcenetwork/acp_core v0.8.2 h1:k33r0c7vJxHRUPc80PmZ9QKOYNwTDUJVegQMIF/O7AM=
1771+
github.com/sourcenetwork/acp_core v0.8.2/go.mod h1:UBjrCrI09Q02Fgy4G2NQzKx+P5RQVlR9Lf16qzuA6JY=
17661772
github.com/sourcenetwork/anet v0.0.0-20250417190629-7c87cba7799e h1:sSvLVomsLBjQpojIu+e32LJlnE8M4nuIsX1mGeU8qo8=
17671773
github.com/sourcenetwork/anet v0.0.0-20250417190629-7c87cba7799e/go.mod h1:eay5PRQr7fIVAMbTbchTnO9gG65Hg/uYGdc7mguHxoA=
17681774
github.com/sourcenetwork/corekv v0.3.2 h1:dOnlAQsvoOXnmEBpLdp97XLqUOu7l87sVrrA8OnsqH0=
@@ -1797,16 +1803,16 @@ github.com/sourcenetwork/immutable v0.3.0 h1:gHPtGvLrTBTK5YpDAhMU+u+S8v1F6iYmc3n
17971803
github.com/sourcenetwork/immutable v0.3.0/go.mod h1:GD7ceuh/HD7z6cdIwzKK2ctzgZ1qqYFJpsFp+8qYnbI=
17981804
github.com/sourcenetwork/lens/host-go v0.11.0 h1:B9aNdRaYh6P5gBxhUOTUS9geyq8Pl3I/ps0w6Y4xt9k=
17991805
github.com/sourcenetwork/lens/host-go v0.11.0/go.mod h1:LHIuko88fgxOX996hvRNuBbgdTeFIPLQO6OXj24vmsM=
1800-
github.com/sourcenetwork/raccoondb v0.2.1-0.20240722161350-d4a78b691ec8 h1:d0jNogSYqMt+dC05tnd+x7lmzEcBHpKoIU5woZSSHFM=
1801-
github.com/sourcenetwork/raccoondb v0.2.1-0.20240722161350-d4a78b691ec8/go.mod h1:/WJdZWouiY199DypsN0xaP5PF0zy3rka3FxH5Y8o9Bc=
1806+
github.com/sourcenetwork/raccoondb v0.2.1-0.20260514175348-017fdf639300 h1:Cg44ZTo3jot8806J91dFd0Un6gcYjheUy4sz7XnI7k4=
1807+
github.com/sourcenetwork/raccoondb v0.2.1-0.20260514175348-017fdf639300/go.mod h1:/WJdZWouiY199DypsN0xaP5PF0zy3rka3FxH5Y8o9Bc=
18021808
github.com/sourcenetwork/raccoondb/v2 v2.0.0 h1:Gb0SjsZUbrbkHCEg7PyyNs0+2IzPxjE/BkEQnlu1nfA=
18031809
github.com/sourcenetwork/raccoondb/v2 v2.0.0/go.mod h1:tPKAWHUgYcSoXNMt01iWJ+Y51AQYc2knY93IjmmbejY=
1804-
github.com/sourcenetwork/sourcehub v0.4.1-0.20260128164915-1bce44032618 h1:1AAfhBgTQ9Ab/iKM/Ona4aVVB5GYPvIQjRaTumW7KgY=
1805-
github.com/sourcenetwork/sourcehub v0.4.1-0.20260128164915-1bce44032618/go.mod h1:TLdwaDpbM9C8oOW3WS4JnjixC2xB1N/C7kTtsyb55o8=
18061810
github.com/sourcenetwork/testo v0.2.0 h1:jy0e/VLuDKLErHbnsjWezzChffUkx5bto7B30d1vRN0=
18071811
github.com/sourcenetwork/testo v0.2.0/go.mod h1:CwCk0OPI7XLc0ypBS2QVoCtwOxyybv5x8gJxDkNCd14=
1808-
github.com/sourcenetwork/zanzi v0.3.1-0.20251104182341-4b1bd0f7be5a h1:TlnRmk1v4+nIKGUdzMht4qnrf8AxCUAvpxSIqJ2CX94=
1809-
github.com/sourcenetwork/zanzi v0.3.1-0.20251104182341-4b1bd0f7be5a/go.mod h1:j7QmuHK+zfA0JO6FliJzQHijVNSXDuQy8hUzFC5pucA=
1812+
github.com/sourcenetwork/vera v0.4.1-0.20260827134642-8c1a760f2f83 h1:X9SXi8GDpruMd4yXDD/aX73eNbaoShEDeBY9UW9pEXM=
1813+
github.com/sourcenetwork/vera v0.4.1-0.20260827134642-8c1a760f2f83/go.mod h1:iTQV+wpKBnrh+WzE4MiOuauZolTkp5wtceA/s+HTRRE=
1814+
github.com/sourcenetwork/zanzi v0.3.1-0.20260731133738-53cb4f16fe3e h1:Q+qzo49PMTHIrWAAgdkz9PR3R85Gpo7NwAUODHIeigA=
1815+
github.com/sourcenetwork/zanzi v0.3.1-0.20260731133738-53cb4f16fe3e/go.mod h1:Elj7mNEfkthXGmHOdyfbPMBaJQqKIZlTRmSD0R5FYfs=
18101816
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
18111817
github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI=
18121818
github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
@@ -1878,6 +1884,8 @@ github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t
18781884
github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo=
18791885
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
18801886
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
1887+
github.com/supranational/blst v0.3.16 h1:bTDadT+3fK497EvLdWRQEjiGnUtzJ7jjIUMF0jqwYhE=
1888+
github.com/supranational/blst v0.3.16/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw=
18811889
github.com/sylvia7788/contextcheck v1.0.4/go.mod h1:vuPKJMQ7MQ91ZTqfdyreNKwZjyUg6KO+IebVyQDedZQ=
18821890
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
18831891
github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca/go.mod h1:u2MKkTVTVJWe5D1rCvame8WqhBd88EuIwODJZ1VHCPM=

tests/action/acp_dac_setup.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
"github.com/sourcenetwork/defradb/client/options"
3939
"github.com/sourcenetwork/defradb/keyring"
4040
"github.com/sourcenetwork/defradb/tests/state"
41-
"github.com/sourcenetwork/sourcehub/sdk"
41+
"github.com/sourcenetwork/vera/sdk"
4242
)
4343

4444
const (
@@ -47,9 +47,9 @@ const (
4747
faucetMnemonic = "comic very pond victory suit tube ginger antique life then core warm loyal deliver iron fashion erupt husband weekend monster sunny artist empty uphold" //nolint:lll
4848

4949
// faucetAddr is the account address matching the faucetMnemonic
50-
faucetAddr = "source12d9hjf0639k995venpv675sju9ltsvf8u5c9jt"
50+
faucetAddr = "vera12d9hjf0639k995venpv675sju9ltsvf8v73hjv"
5151

52-
sourcehubTestChainID string = "sourcehub-dev"
52+
sourcehubTestChainID string = "vera-dev"
5353
)
5454

5555
func setupSourceHub(s *state.State, cfg NodeSetupConfig) (*options.NodeDocumentACPOptions, error) {

tests/integration/acp_dac_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ func init() {
3737
}
3838
sourcehubImage = os.Getenv(sourcehubImageEnvName)
3939
if sourcehubImage == "" {
40-
sourcehubImage = "ghcr.io/sourcenetwork/sourcehub:dev"
40+
sourcehubImage = "ghcr.io/sourcenetwork/vera:dev"
4141
}
4242
}

0 commit comments

Comments
 (0)