We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently arkeo blockchain allow user to set bond provider multiple times , when it already exist , it will just update it.
However directory indexer will try to insert , instead of update , which result error
{"error":"error updating provider for bond event tarkeopub1addwnpepqgpjgp5v8tj6gdh6gczqwww5ksh4g8ync8xpjjssawsn7cxqwmhmjy4d8d8 service mock: ERROR: insert or update on table \"providers\" violates foreign key constraint \"providers_status_fkey\" (SQLSTATE 23503)","file":"/app/directory/indexer/consumer.go:328","func":"github.com/arkeonetwork/arkeo/directory/indexer.(*Service).handleTransaction","level":"error","msg":"error handling abci event types.Event{Type:\"arkeo.arkeo.EventBondProvider\", Attributes:[]types.EventAttribute{types.EventAttribute{Key:[]uint8{0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x61, 0x62, 0x73}, Value:[]uint8{0x22, 0x31, 0x32, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x22}, Index:true}, types.EventAttribute{Key:[]uint8{0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x6c}, Value:[]uint8{0x22, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x22}, Index:true}, types.EventAttribute{Key:[]uint8{0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72}, Value:[]uint8{0x22, 0x74, 0x61, 0x72, 0x6b, 0x65, 0x6f, 0x70, 0x75, 0x62, 0x31, 0x61, 0x64, 0x64, 0x77, 0x6e, 0x70, 0x65, 0x70, 0x71, 0x67, 0x70, 0x6a, 0x67, 0x70, 0x35, 0x76, 0x38, 0x74, 0x6a, 0x36, 0x67, 0x64, 0x68, 0x36, 0x67, 0x63, 0x7a, 0x71, 0x77, 0x77, 0x77, 0x35, 0x6b, 0x73, 0x68, 0x34, 0x67, 0x38, 0x79, 0x6e, 0x63, 0x38, 0x78, 0x70, 0x6a, 0x6a, 0x73, 0x73, 0x61, 0x77, 0x73, 0x6e, 0x37, 0x63, 0x78, 0x71, 0x77, 0x6d, 0x68, 0x6d, 0x6a, 0x79, 0x34, 0x64, 0x38, 0x64, 0x38, 0x22}, Index:true}, types.EventAttribute{Key:[]uint8{0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65}, Value:[]uint8{0x22, 0x6d, 0x6f, 0x63, 0x6b, 0x22}, Index:true}}}","service":"indexer","time":"2023-05-28T21:50:43.703Z"}
The text was updated successfully, but these errors were encountered:
This issue has been addressed in PR: #222
Sorry, something went wrong.
johnnyluo
No branches or pull requests
Currently arkeo blockchain allow user to set bond provider multiple times , when it already exist , it will just update it.
However directory indexer will try to insert , instead of update , which result error
The text was updated successfully, but these errors were encountered: