Skip to content

Commit

Permalink
Fix: add oxford 2 to protocol parsers (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Dec 29, 2023
1 parent 2385a92 commit cab5642
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/parsers/operations/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ func (m Migration) Parse(ctx context.Context, data noderpc.Operation, operation
"PtMumbaiiFFEGbew1rRjzSPyzRbA51Tm3RVZL5suHPxSZYDhCEc",
"PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1",
"PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8":

"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8",
"ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH":
return m.fromLazyStorageDiff(ctx, data, operation, store)
default:
return errors.Errorf("unknown protocol for migration parser: %s", protocol)
Expand Down
6 changes: 4 additions & 2 deletions internal/parsers/protocols/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ func Get(ctx *config.Context, protocol string) (*Specific, error) {
"PtMumbaiiFFEGbew1rRjzSPyzRbA51Tm3RVZL5suHPxSZYDhCEc",
"PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1",
"PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8":
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8",
"ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH":
return &Specific{
StorageParser: storage.NewLazyBabylon(ctx.BigMapDiffs, ctx.Operations, ctx.Accounts),
ContractParser: contract.NewJakarta(ctx),
Expand Down Expand Up @@ -131,7 +132,8 @@ func NeedImplicitParsing(protocol string) bool {
"PtMumbaiiFFEGbew1rRjzSPyzRbA51Tm3RVZL5suHPxSZYDhCEc",
"PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1",
"PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8":
"ProxfordSW2S7fvchT1Zgj2avb5UES194neRyYVXoaDGvF9egt8",
"ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH":
return true
}
return false
Expand Down

0 comments on commit cab5642

Please sign in to comment.