Skip to content

prof-project/reproduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

1. docker 
      install docker
      `sudo groupadd docker` 
      `sudo usermod -aG docker $USER`
       `newgrp docker`

2. Kurtosis 
	install kurtosis:	
		`echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list`
		`sudo apt update`
		`sudo apt install kurtosis-cli=0.87.2 -V`
	add autocomplete for kurtosis (optional)
		https://docs.kurtosis.com/guides/adding-command-line-completion
		`kurtosis analytics disable`

        
3. Build the prof bundle merger (below is the non-sgx way to do it)
	`cd builder`
	`docker build . -t prof-project/builder-prof-merger`
	`cd ..`

4. Build the prof sequencer
	`cd prof-sequencer`
	`docker build . -t prof-project/prof-sequencer`
	`cd ..`

first ensure that the prof relay code is located at ethereum-package/prof-relay  (i.e., inside the ethereum-package)
the dir structure should look like this:
	main dir
	- - ethereum-package/	(0843a84cbd3541a0c0fd28fe39d435d991929ead) 
	- - - - prof-relay/ 	(b76cc18727b8049f62871d9c4d7f9f273e5a7941)
	- - builder/		(21ceda269c9d9da8ec39faea0f63efa29d8d3ebe)
	- - prof-sequencer/	(13ad0a12c69cba61b29fabe97582fecc2ae8e35f)

4. start up everything using kurtosis
	`cd ethereum-package`
	`kurtosis run --enclave prof ./ --args-file network_params.yaml`

5. check the logs
	`kurtosis service logs prof mev-relay-api`

6. kill the enclave 
	`kurtosis enclave rm -f prof`
	
NOTE : use these exact names `builder-prof-merger`, `prof-sequencer` and `prof-relay` as that's what the above network params yaml looks for.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published