Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Feb 10, 2025
1 parent eb8262c commit ea48dce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/solana/chainreader/chain_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ func TestSolanaChainReaderService_Start(t *testing.T) {
}

boolType := codec.IdlType{}
boolType.UnmarshalJSON([]byte(codec.IdlTypeBool))
require.NoError(t, boolType.UnmarshalJSON([]byte("\"bool\"")))

for _, tt := range testCases {
t.Run(tt.Name, func(t *testing.T) {
cfg := config.ContractReader{
map[string]config.ChainContractReader{
Namespaces: map[string]config.ChainContractReader{
"myChainReader": {
IDL: codec.IDL{
Accounts: []codec.IdlTypeDef{{"myAccount",
Expand All @@ -139,6 +139,7 @@ func TestSolanaChainReaderService_Start(t *testing.T) {
"myRead": tt.ReadDef},
},
},
AddressShareGroups: nil,
}
er := mocks.NewEventsReader(t)
svc, err := chainreader.NewContractReaderService(
Expand Down

0 comments on commit ea48dce

Please sign in to comment.