-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
44 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
definitions: | ||
http.blobData: | ||
properties: | ||
blob: | ||
type: string | ||
blob_hash: | ||
type: string | ||
kzg_commitment: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ const docTemplate = `{ | |
"email": "[email protected]" | ||
}, | ||
"license": { | ||
"name": "MIT" | ||
"name": "MIT", | ||
"url": "https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md" | ||
}, | ||
"version": "{{.Version}}" | ||
}, | ||
|
@@ -323,10 +324,10 @@ const docTemplate = `{ | |
// SwaggerInfo holds exported Swagger Info so clients can modify it | ||
var SwaggerInfo = &swag.Spec{ | ||
Version: "1.0", | ||
Host: "eventindexer.katla.taiko.xyz", | ||
Host: "eventindexer.hekla.taiko.xyz", | ||
BasePath: "", | ||
Schemes: []string{}, | ||
Title: "Taiko Eventindexer API", | ||
Title: "Taiko Event Indexer API", | ||
Description: "", | ||
InfoInstanceName: "swagger", | ||
SwaggerTemplate: docTemplate, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Taiko Eventindexer API", | ||
"title": "Taiko Event Indexer API", | ||
"termsOfService": "http://swagger.io/terms/", | ||
"contact": { | ||
"name": "API Support", | ||
"url": "https://community.taiko.xyz/", | ||
"email": "[email protected]" | ||
}, | ||
"license": { | ||
"name": "MIT" | ||
"name": "MIT", | ||
"url": "https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md" | ||
}, | ||
"version": "1.0" | ||
}, | ||
"host": "eventindexer.katla.taiko.xyz", | ||
"host": "eventindexer.hekla.taiko.xyz", | ||
"paths": { | ||
"/assignedBlocks": { | ||
"get": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,16 +69,17 @@ definitions: | |
visible: | ||
type: integer | ||
type: object | ||
host: eventindexer.katla.taiko.xyz | ||
host: eventindexer.hekla.taiko.xyz | ||
info: | ||
contact: | ||
email: [email protected] | ||
name: API Support | ||
url: https://community.taiko.xyz/ | ||
license: | ||
name: MIT | ||
url: https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md | ||
termsOfService: http://swagger.io/terms/ | ||
title: Taiko Eventindexer API | ||
title: Taiko Event Indexer API | ||
version: "1.0" | ||
paths: | ||
/assignedBlocks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ import ( | |
echo "github.com/labstack/echo/v4" | ||
) | ||
|
||
// @title Taiko Eventindexer API | ||
// @title Taiko Event Indexer API | ||
// @version 1.0 | ||
// @termsOfService http://swagger.io/terms/ | ||
|
||
|
@@ -23,8 +23,9 @@ import ( | |
// @contact.email [email protected] | ||
|
||
// @license.name MIT | ||
// @license.url https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md | ||
|
||
// @host eventindexer.katla.taiko.xyz | ||
// @host eventindexer.hekla.taiko.xyz | ||
// Server represents an eventindexer http server instance. | ||
type Server struct { | ||
echo *echo.Echo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ const docTemplate = `{ | |
"email": "[email protected]" | ||
}, | ||
"license": { | ||
"name": "MIT" | ||
"name": "MIT", | ||
"url": "https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md" | ||
}, | ||
"version": "{{.Version}}" | ||
}, | ||
|
@@ -165,10 +166,10 @@ const docTemplate = `{ | |
// SwaggerInfo holds exported Swagger Info so clients can modify it | ||
var SwaggerInfo = &swag.Spec{ | ||
Version: "1.0", | ||
Host: "relayer.katla.taiko.xyz", | ||
Host: "relayer.hekla.taiko.xyz", | ||
BasePath: "", | ||
Schemes: []string{}, | ||
Title: "Taiko Relayer API", | ||
Title: "Taiko Bridge Relayer API", | ||
Description: "", | ||
InfoInstanceName: "swagger", | ||
SwaggerTemplate: docTemplate, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Taiko Relayer API", | ||
"title": "Taiko Bridge Relayer API", | ||
"termsOfService": "http://swagger.io/terms/", | ||
"contact": { | ||
"name": "API Support", | ||
"url": "https://community.taiko.xyz/", | ||
"email": "[email protected]" | ||
}, | ||
"license": { | ||
"name": "MIT" | ||
"name": "MIT", | ||
"url": "https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md" | ||
}, | ||
"version": "1.0" | ||
}, | ||
"host": "relayer.katla.taiko.xyz", | ||
"host": "relayer.hekla.taiko.xyz", | ||
"paths": { | ||
"/blockInfo": { | ||
"get": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,16 +39,17 @@ definitions: | |
visible: | ||
type: integer | ||
type: object | ||
host: relayer.katla.taiko.xyz | ||
host: relayer.hekla.taiko.xyz | ||
info: | ||
contact: | ||
email: [email protected] | ||
name: API Support | ||
url: https://community.taiko.xyz/ | ||
license: | ||
name: MIT | ||
url: https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md | ||
termsOfService: http://swagger.io/terms/ | ||
title: Taiko Relayer API | ||
title: Taiko Bridge Relayer API | ||
version: "1.0" | ||
paths: | ||
/blockInfo: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ type ethClient interface { | |
BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error) | ||
} | ||
|
||
// @title Taiko Relayer API | ||
// @title Taiko Bridge Relayer API | ||
// @version 1.0 | ||
// @termsOfService http://swagger.io/terms/ | ||
|
||
|
@@ -30,8 +30,9 @@ type ethClient interface { | |
// @contact.email [email protected] | ||
|
||
// @license.name MIT | ||
// @license.url https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md | ||
|
||
// @host relayer.katla.taiko.xyz | ||
// @host relayer.hekla.taiko.xyz | ||
// Server represents an relayer http server instance. | ||
type Server struct { | ||
echo *echo.Echo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,7 @@ import ( | |
// @contact.email [email protected] | ||
|
||
// @license.name MIT | ||
// @license.url https://github.com/taikoxyz/taiko-mono/packages/taiko-client/blob/main/LICENSE.md | ||
|
||
// @license.url https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE.md | ||
// ProverServer represents a prover server instance. | ||
type ProverServer struct { | ||
echo *echo.Echo | ||
|