Skip to content
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

fix(protocol): fix script #18828

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ contract UpgradeDevnetPacayaL1 is DeployCapability {
// TaikoInbox
address newFork = address(new DevnetInbox(rollupResolver));
UUPSUpgradeable(taikoInbox).upgradeTo(address(new ForkRouter(oldFork, newFork)));
register(sharedResolver, "taiko", taikoInbox);
register(rollupResolver, "taiko", taikoInbox);
// Prover set
UUPSUpgradeable(proverSet).upgradeTo(address(new ProverSet(rollupResolver)));
// Verifier
Expand Down
6 changes: 3 additions & 3 deletions packages/taiko-client/bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ var (
ComposeVerifierABI *abi.ABI
ForkRouterPacayaABI *abi.ABI
TaikoTokenPacayaABI *abi.ABI
ProverSetPavayaABI *abi.ABI
ProverSetPacayaABI *abi.ABI

customErrorMaps []map[string]abi.Error
)
Expand Down Expand Up @@ -532,7 +532,7 @@ func init() {
log.Crit("Get TaikoToken ABI error", "error", err)
}

if ProverSetPavayaABI, err = pacayaBindings.ProverSetMetaData.GetAbi(); err != nil {
if ProverSetPacayaABI, err = pacayaBindings.ProverSetMetaData.GetAbi(); err != nil {
log.Crit("Get ProverSet ABI error", "error", err)
}

Expand All @@ -554,7 +554,7 @@ func init() {
ComposeVerifierABI.Errors,
ForkRouterPacayaABI.Errors,
TaikoTokenPacayaABI.Errors,
ProverSetPavayaABI.Errors,
ProverSetPacayaABI.Errors,
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/driver/preconf_blocks/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (s *PreconfBlockAPIServer) OnUnsafeL2Payload(
Timestamp: uint64(msg.ExecutionPayload.Timestamp),
ExtraData: msg.ExecutionPayload.ExtraData,
BaseFeePerGas: baseFee,
BlockHash: common.Hash(msg.ExecutionPayload.BlockHash),
BlockHash: msg.ExecutionPayload.BlockHash,
Transactions: [][]byte{common.FromHex(msg.ExecutionPayload.Transactions[0].String())},
Withdrawals: []*types.Withdrawal{},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/proposer/transaction_builder/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (b *BlobTransactionBuilder) BuildPacaya(
if b.proverSetAddress != rpc.ZeroAddress {
to = &b.proverSetAddress

if data, err = encoding.ProverSetPavayaABI.Pack("proposeBatch", encodedParams, []byte{}); err != nil {
if data, err = encoding.ProverSetPacayaABI.Pack("proposeBatch", encodedParams, []byte{}); err != nil {
return nil, err
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (b *CalldataTransactionBuilder) BuildPacaya(
if b.proverSetAddress != rpc.ZeroAddress {
to = &b.proverSetAddress

if data, err = encoding.ProverSetPavayaABI.Pack("proposeBatch", encodedParams, txListsBytes); err != nil {
if data, err = encoding.ProverSetPacayaABI.Pack("proposeBatch", encodedParams, txListsBytes); err != nil {
return nil, err
}
} else {
Expand Down
Loading