-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
pkg/cosmos: move tx and chain from core #381
Conversation
) | ||
|
||
type DB interface { | ||
BeginTxx(context.Context, *sql.TxOptions) (*sqlx.Tx, error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BeginTx?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the sqlx variant that we use in core. IIUC they couldn't override BeginTx
while returning a different Tx
type, so they suffixed with x
. Bad luck that Tx
also ends in x
in this case 🤷
6a088d2
to
e57032d
Compare
e57032d
to
3d0eb7a
Compare
merging to unblock cosmos extraction work in core - CI will continue to fail |
https://smartcontract-it.atlassian.net/browse/BCI-900
Supports: