Skip to content

Generate JSON tag for proto types#58

Merged
codchen merged 1 commit intomasterfrom
tony-chen-fix-json-tag
Jun 26, 2022
Merged

Generate JSON tag for proto types#58
codchen merged 1 commit intomasterfrom
tony-chen-fix-json-tag

Conversation

@codchen
Copy link
Collaborator

@codchen codchen commented Jun 25, 2022

Since we use gogoproto for protobuf, the default JSON tag doesn't work and we have to explicitly specify gogoproto.jsontag.

All changes in this PR are in proto files, and .pb.go changes are all auto-generated. Since this change doesn't modify marshal/unmarshal behavior (i.e. we didn't add new fields, change data type, or reorder fields), no migration is needed.

@codchen codchen requested review from 0xeren, LCyson and philipsu522 June 25, 2022 22:34
Copy link
Contributor

@0xeren 0xeren left a comment

Choose a reason for hiding this comment

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

this mainly for readability not for correctness? looks good

@codchen
Copy link
Collaborator Author

codchen commented Jun 26, 2022

@0xeren yes. Can you approve it if it lgty?

@codchen codchen merged commit 342d2db into master Jun 26, 2022
masih pushed a commit that referenced this pull request Sep 26, 2025
* debug

* debug

* debug

* debug

* print out largest size for code

* print out addr for large state sizes

* flush wasm contracts  when reaching state kv len threshold reached

* wasm flush every kv pair

* go back to flush after threshold

* validate-genesis using streaming works

* have params on every line in wasm genesis

* export, validate, import work locally

* cleanup

* change name of StreamGenesis to ExportGenesisStream

* remove some prints

* fix
masih pushed a commit that referenced this pull request Sep 29, 2025
## Describe your changes and provide context
Relevant PR:
#313

We are moving the module deposits to the end of the block and
transferring them all at once. This is to prevent the gas fee deposit
from being a single source of a bottleneck when it comes to concurrency.

## Testing performed to validate your change
Ran 3 iterations of load tests with 5 rounds, and 400 orders per block 

![image](https://user-images.githubusercontent.com/18161326/196336249-f150b940-f356-4d9b-a76f-c5cd270a979e.png)


![image](https://user-images.githubusercontent.com/18161326/196336238-3ad5f8a3-afc9-42f1-8b4d-185bad78d8bb.png)
masih pushed a commit that referenced this pull request Sep 30, 2025
## Describe your changes and provide context
Relevant PR:
#313

We are moving the module deposits to the end of the block and
transferring them all at once. This is to prevent the gas fee deposit
from being a single source of a bottleneck when it comes to concurrency.

## Testing performed to validate your change
Ran 3 iterations of load tests with 5 rounds, and 400 orders per block 

![image](https://user-images.githubusercontent.com/18161326/196336249-f150b940-f356-4d9b-a76f-c5cd270a979e.png)


![image](https://user-images.githubusercontent.com/18161326/196336238-3ad5f8a3-afc9-42f1-8b4d-185bad78d8bb.png)
masih pushed a commit that referenced this pull request Oct 1, 2025
* Have router be restarted if there are no available peers

* Fix

* rm

* Fix backoff

* Add restart struct to top level node

* test

* test

* Rm failure injection

* add config

* rm moniker

* add config
masih pushed a commit that referenced this pull request Oct 9, 2025
@masih masih deleted the tony-chen-fix-json-tag branch October 31, 2025 15:52
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.

2 participants