Skip to content

ComposableFi/ics11-beefy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run integration tests for 11-Beefy


First run the relay chain & parachain nodes:


docker run -ti -p9944:9944 -p9988:9988 -p9998:9998 composablefi/composable-sandbox:latest

Then wait until you see this line:


🚀 POLKADOT LAUNCH COMPLETE 🚀

Now you can run the tests in ./11-beefy/types/update_test.go


go test -test.timeout=0 -run TestCheckHeaderAndUpdateState -v

You should start to see these lines:


==== connected! ==== 
====== subcribed! ======


Initializing client state


clientState.LatestBeefyHeight: 169
clientState.MmrRootHash: 89a2850e8b5e475980ca1ef4c145f4c5624a072d287b85f0430815d5c9b7b387
====== successfully processed justification! ======

This means the light client is following the relay chain consensus protocol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •