-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scratch for testing the integration #12
Conversation
e58d8f3
to
6f27e96
Compare
@ImJeremyHe this is still marked as draft. Any more work that is required before reviewing? |
e685587
to
0cfc68e
Compare
I'm getting the error below. Looks like a contract function from the wrong account. I think the changes here should be causing such an error though.
|
On the second try I got the transaction replaced error you mentioned. |
@@ -143,6 +143,10 @@ func (s *EspressoSequencer) Start(ctxIn context.Context) error { | |||
|
|||
// Required methods for the TransactionPublisher interface | |||
func (s *EspressoSequencer) PublishTransaction(parentCtx context.Context, tx *types.Transaction, options *arbitrum_types.ConditionalOptions) error { | |||
if err := s.hotShotState.client.SubmitTransaction(parentCtx, tx); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, yeah I think this works better here
@@ -281,6 +281,7 @@ func DeployOnL1(ctx context.Context, parentChainReader *headerreader.HeaderReade | |||
|
|||
type Config struct { | |||
Sequencer bool `koanf:"sequencer"` | |||
Espresso bool `koanf:"espresso"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like any logic (besides the validation below) depends on this flag, so can we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used to avoid the breaking of the validation since we need to set Sequencer
to true and set Coordinator
to false.
0d7e7a9
to
f46a13c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works like a charm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f46a13c
to
ce238ca
Compare
add getBlockDifficulty to mock simple
This PR is to update the submodule of
nitro-testnode
, and it depends on this.Test this with