-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Summary of Bug
GetTxsEvent does not work when querying by signature. In order to query by signature, the sig bytes are base64 encoded, which often has multiple =
signs in the string encoding. The GetTxsEvent method, however, fails if there is more than one =
sign in the request: https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/tx/service.go#L72
Version
since: 7c19434 to master
Steps to Reproduce
example failing test here:
cosmos-sdk/x/auth/tx/service_test.go
Line 696 in 79bbba8
func (s IntegrationTestSuite) TestQueryBySig() { |
- build transaction
- broadcast tx
- extract signature from builder
- base64 encode signature
- format event string
tx.signature='base64EncodedSignature'
- call
GetTxsEvent
grpc method
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned