testing

package
v5.1.3-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Blob = `` /* 262146-byte string literal not displayed */
View Source
var InvalidJson = `{
	"block_root" : "0x000000000000000
	   ]
	}
 }`
View Source
var PublishBlobsRequest = fmt.Sprintf(`{
	"block_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
	"blob_sidecars" : {
	   "sidecars" : [
		  {
			 "blob" : "%s",
			 "index" : "0",
			 "kzg_commitment" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
			 "kzg_commitment_inclusion_proof" : [
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000"
			 ],
			 "kzg_proof" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
			 "signed_block_header" : {
				"message" : {
				   "body_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
				   "parent_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
				   "proposer_index" : "0",
				   "slot" : "0",
				   "state_root" : "0x0000000000000000000000000000000000000000000000000000000000000000"
				},
				"signature" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
			 }
		  }
	   ]
	}
 }`, Blob)
View Source
var PublishBlobsRequestBadBlockRoot = fmt.Sprintf(`{
	"block_root" : "0x0000000000000000000000000000",
	"blob_sidecars" : {
	   "sidecars" : [
		  {
			 "blob" : "%s",
			 "index" : "0",
			 "kzg_commitment" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
			 "kzg_commitment_inclusion_proof" : [
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000"
			 ],
			 "kzg_proof" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
			 "signed_block_header" : {
				"message" : {
				   "body_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
				   "parent_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
				   "proposer_index" : "0",
				   "slot" : "0",
				   "state_root" : "0x0000000000000000000000000000000000000000000000000000000000000000"
				},
				"signature" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
			 }
		  }
	   ]
	}
 }`, Blob)
View Source
var PublishBlobsRequestEmptySidecarsList = `` /* 139-byte string literal not displayed */
View Source
var PublishBlobsRequestMissingBlob = `` /* 2323-byte string literal not displayed */
View Source
var PublishBlobsRequestMissingSidecars = `{
	"block_root" : "0x0000000000000000000000000000000000000000000000000000000000000000"
 }`
View Source
var PublishBlobsRequestMissingSignedBlockHeader = fmt.Sprintf(`{
	"block_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
	"blob_sidecars" : {
	   "sidecars" : [
		  {
			 "blob" : "%s",
			 "index" : "0",
			 "kzg_commitment" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
			 "kzg_commitment_inclusion_proof" : [
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000",
				"0x0000000000000000000000000000000000000000000000000000000000000000"
			 ],
			 "kzg_proof" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
		  }
	   ]
	}
 }`, Blob)
View Source
var PublishBlobsRequestNullSidecar = `` /* 148-byte string literal not displayed */
View Source
var PublishBlobsRequestSeveralFieldsMissing = fmt.Sprintf(`{
	"block_root" : "0x0000000000000000000000000000000000000000000000000000000000000000",
	"blob_sidecars" : {
	   "sidecars" : [
			  {
					 "blob" : "%s",
					 "index" : "0",
					 "kzg_commitment" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
					 "kzg_proof" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
					 "signed_block_header" : {
							"signature" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
					 }
			  }
	   ]
	}
}`, Blob)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL