Closed h5law closed 11 months ago
🚨 I REWROTE HISTORY 🚨
As I took this branch out of a WIP draft I have rebased and cleaned up the commit history (fixups etc). This is the only time this will happen as this PR is now ready for review.
CC: @Olshansk @bryanchriswhite
@Olshansk added tests to cover the flushing and pruning works on new height events
Description
Summary generated by Reviewpad on 13 Jul 23 10:41 UTC
This pull request includes several changes across multiple files. Here is a summary of the changes:
ibc/handle_message_test.go
, the file was renamed toibc/ibc_msg_mempool_test.go
with a similarity index of 85%.strings
package was added.TestHandleMessage_ErrorAlreadyInMempool
was renamed toTestEmitMessage_MessageAddedToLocalMempool
. Some code within the renamed test function was also modified, including changes in the preparation of test data and the addition of a transaction to the mempool.TestHandleMessage_BasicValidation_Message
was renamed toTestIBCMessage_BasicValidation_Message
.TestHandleMessage_BasicValidation_Transaction
was renamed toTestIBCMessage_BasicValidation_Transaction
.TestHandleMessage_ErrorAlreadyInMempool
was added to check for the error of having a duplicate transaction in the mempool.TestHandleMessage_ErrorAlreadyCommitted
was added to check for the error of having an already committed transaction.TestHandleMessage_GetIndexedMessage
was modified to include changes in the preparation of the environment.TestHandleMessage_AddToMempool
was removed.Additionally, other files such as
treestore_module.go
,emitter.go
,submodule.go
,config.validator4.json
,persistence/ibc.go
,defaults.go
,bus_module.go
,ibc_store_module.go
,bulk_store_cache.go
,ibc_host_module.go
,config.validator4.json
,persistence/test/benchmark_state_test.go
,p2p/README.md
,runtime/manager_test.go
,shared/node.go
,persistence/test/manager_test.go
,shared/modules/bulk_store_cache.go
,ibc.go
,shared/node.go
,ics24.md
,main_test.go
have also been modified.Please let me know if you need more information or details about any specific change.
Issue
Fixes #854
Type of change
Please mark the relevant option(s):
List of changes
Testing
make develop_test
; if any code changes were mademake test_e2e
on k8s LocalNet; if any code changes were madee2e-devnet-test
passes tests on DevNet; if any code was changedRequired Checklist
godoc
format comments on touched members (see: tip.golang.org/doc/comment)If Applicable Checklist
shared/docs/*
if I updatedshared/*
README(s)