mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
commit
7607b513c9
@ -45,7 +45,7 @@ describe("decode", () => {
|
||||
mode: SignMode.SIGN_MODE_DIRECT,
|
||||
},
|
||||
},
|
||||
sequence: Long.fromNumber(0, true),
|
||||
sequence: Long.UZERO,
|
||||
},
|
||||
],
|
||||
fee: {
|
||||
|
@ -30,7 +30,7 @@ describe("AuthExtension", () => {
|
||||
address: unused.address,
|
||||
// pubKey not set
|
||||
accountNumber: Long.fromNumber(unused.accountNumber, true),
|
||||
sequence: Long.fromNumber(0, true),
|
||||
sequence: Long.UZERO,
|
||||
});
|
||||
|
||||
tmClient.disconnect();
|
||||
@ -46,7 +46,7 @@ describe("AuthExtension", () => {
|
||||
expect(BaseAccount.decode(account.value)).toEqual({
|
||||
address: validator.delegatorAddress,
|
||||
pubKey: Any.fromPartial(encodePubkey(validator.pubkey)),
|
||||
accountNumber: Long.fromNumber(0, true),
|
||||
accountNumber: Long.UZERO,
|
||||
sequence: Long.fromNumber(validator.sequence, true),
|
||||
});
|
||||
|
||||
|
@ -25,8 +25,8 @@ export function createPagination(paginationKey?: Uint8Array): PageRequest | unde
|
||||
return paginationKey
|
||||
? PageRequest.fromPartial({
|
||||
key: paginationKey,
|
||||
offset: Long.fromNumber(0, true),
|
||||
limit: Long.fromNumber(0, true),
|
||||
offset: Long.UZERO,
|
||||
limit: Long.UZERO,
|
||||
countTotal: false,
|
||||
})
|
||||
: undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user