-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PRT-1082 stateless rpc consumer with cache (#1144)
* WIP * WIP - changed the cache fetching to prior to provider picks. * adding cache share state store and read * fix nil pointer deref * work with existing latest block cache set and get instead a new one * adding rewrite + validation mechanism to setting the latest known block with race protection. its not ideal but currently its a good enough solution. * fix cache issue for expected block. * solved batch id parsing. * adding cache to local test evmos * removed int64 unused price var * shared state comments fixed * fixed cache unitest * removed updated block when cache hits. we don't need to change the block * fixed cache reply on shared state to not run data relliability * fixing comments. * lint fix * change cb name * fix nil deref
- Loading branch information
1 parent
61944aa
commit b093d06
Showing
17 changed files
with
457 additions
and
147 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
cookbook/param_changes/protocol_version_update_expedited.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"title": "Protocol Version Upgrade 0.33.2", | ||
"description": "Protocol Version Upgrade", | ||
"summary": "Protocol Version Upgrade", | ||
"messages": [ | ||
{ | ||
"@type": "/cosmos.gov.v1.MsgExecLegacyContent", | ||
"authority": "lava@10d07y265gmmuvt4z0w9aw880jnsr700jz6yq37", | ||
"content": { | ||
"@type": "/cosmos.params.v1beta1.ParameterChangeProposal", | ||
"title": "Protocol Version Upgrade", | ||
"description": "Protocol Version Upgrade", | ||
"changes": [ | ||
{ | ||
"subspace": "protocol", | ||
"key": "Version", | ||
"value": "{\"provider_target\":\"0.33.2\",\"consumer_target\":\"0.33.2\",\"provider_min\":\"0.32.1\",\"consumer_min\":\"0.32.1\"}" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"deposit": "10002000ulava", | ||
"expedited": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.