Skip to content
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

Add Cosmos SDK 0.47 simapp testing and make clients 47 ready #1411

Merged
merged 23 commits into from
May 23, 2023
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
08776a4
Use backslash for linebreak
webmaster128 Apr 3, 2023
9e6a02f
Fix folder name in README: simapp44 -> simapp46
webmaster128 Apr 3, 2023
ee19ab7
Add simapp47 scripts folder
webmaster128 Apr 6, 2023
ef54946
Add Tendermint 0.37 RPC port
webmaster128 Apr 6, 2023
4348cee
Add SIMAPP47_ENABLED/SLOW_SIMAPP47_ENABLED and simapp47 tests
webmaster128 Apr 6, 2023
6cb1a74
Migrate pendingWithoutSimapp46 to pendingWithoutSimapp46OrHigher
webmaster128 Apr 6, 2023
c325d71
Add version detection in SigningStargateClient
webmaster128 Apr 6, 2023
aeb7254
Use constant validator key
webmaster128 Apr 6, 2023
43c4358
Use new validator address for simapp44 and 46
webmaster128 Apr 6, 2023
f987f6a
Set new validator address in tests
webmaster128 Apr 6, 2023
4c8c27c
Implement Tendermint auto-detection in StargateClient
webmaster128 Apr 6, 2023
64aaccf
Set denom_metadata in SDK 0.47 genesis generator
webmaster128 May 3, 2023
ff8cf74
Re-generate SDK 0.47 template
webmaster128 May 3, 2023
e955dd7
Set gas multiplier to 1.5 for MsgGrantAllowance
webmaster128 May 3, 2023
87b11ce
Bump to 0.47.2-lfg.2
webmaster128 May 4, 2023
070deeb
Fix AuthzExtension testing
webmaster128 May 4, 2023
d007169
Fix granterGrants test
webmaster128 May 4, 2023
eb52e93
Simplify searchTx
webmaster128 May 4, 2023
c6ac77a
Avoid searching for attributes across different events
webmaster128 May 22, 2023
0c0b6da
Serahc sender with message.action and message.sender
webmaster128 May 22, 2023
95c7cb2
Fix sender search in wasmd
webmaster128 May 23, 2023
5590c76
Add Tendermint auto-detection to CosmWasmClient
webmaster128 May 23, 2023
2c9eebf
Add CHANGELOG entry
webmaster128 May 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/stargate/src/stargateclient.searchtx.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ describe("StargateClient.getTx and .searchTx", () => {
pendingWithoutSimapp();
assert(sendSuccessful, "value must be set in beforeAll()");
const client = await StargateClient.connect(simapp.tendermintUrl);
const results = await client.searchTx(`transfer.sender='${sendSuccessful.sender}'`);
// Since Cosmos SDK 0.47 we can only combine attributes of a single event
webmaster128 marked this conversation as resolved.
Show resolved Hide resolved
const query = `message.action = '/cosmos.bank.v1beta1.MsgSend' AND message.sender = '${sendSuccessful.sender}'`;
const results = await client.searchTx(query);
expect(results.length).toBeGreaterThanOrEqual(1);

// Check basic structure of all results
Expand Down