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

feat/v3-cosmos #10

Open
wants to merge 149 commits into
base: feat/cosmos-implements
Choose a base branch
from
Open

feat/v3-cosmos #10

wants to merge 149 commits into from

Conversation

hashableric
Copy link

Description

Drive-by changes

Related issues

Backward compatibility

Testing

@hashableric hashableric self-assigned this Oct 16, 2023
aroralanuk and others added 29 commits October 16, 2023 13:49
### Description

- fixes to deploy testnet4 for agents

### Drive-by changes

- truncating labels to length 63
- adding `.relayer` to `agentConfig.contextChainNames`

### Related issues

- for hyperlane-xyz/issues#574

### Backward compatibility

Yes

### Testing

Manual

---------

Co-authored-by: Trevor Porter <[email protected]>
Co-authored-by: Nam Chu Hoai <[email protected]>
- Adding Optimism Hook for MailboxV3

- dispatch function with hookMetadata

- https://github.com/hyperlane-xyz/issues/issues/513

No

None
.await?;

let total_count = tx_search_result.total_count;
let last_page = total_count / 30 + (total_count % 30 != 0) as u32;
let last_page = total_count / PAGINATION_LIMIT as u32

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to double check that it's ok to use 100 as the pagination limit here, given that @hashableric suggested 100 might cause payloads to be too big: #12 (comment)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't confirmed it exactly. However, when 30 transactions are queried, the payload is about 1.8MB. According to this calculation, when querying 100 transactions, you will have a payload of approximately 6MB.

Most gRPC servers have a payload limit of 4MB, which can cause errors depending on which chain node you are querying. @daniel-savu

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMG it isnt GRPC yes Its quite enough for just http payload @daniel-savu

yorhodes and others added 29 commits October 25, 2023 19:51
Fix validator panicking if it has no balance, make `cargo clippy` happy
…ues-1

Estimate gas usage when announcing
…t-data

Also decode base64-encoded events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants