package
1.10.17
Repository: https://github.com/dcmmc/chainlink.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AssertEthTxAttemptCountStays asserts that the number of tx attempts remains at the provided value.
AssertPipelineRunsStays asserts that the number of pipeline runs for a particular job remains at the provided values.
No description provided by the author
No description provided by the author
AssertServerResponse is used to match against a client response, will print any errors returned if the request fails.
No description provided by the author
No description provided by the author
No description provided by the author
BlockWithTransactions returns a new ethereum block with transactions matching the given gas prices.
No description provided by the author
`require.Equal` currently has broken handling of `time.Time` values, so we have to do equality comparisons of these structs manually.
CreateBridgeTypeViaWeb creates a bridgetype via web using /v2/bridge_types.
CreateExternalInitiatorViaWeb creates a bridgetype via web using /v2/bridge_types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DynamicFeeTransactionsFromTipCaps returns EIP-1559 transactions with the given TipCaps (FeeCap is arbitrary).
No description provided by the author
EmptyMockSubscription return empty MockSubscription.
No description provided by the author
FindEthTxWithAttempts finds the EthTx with its attempts and receipts preloaded.
No description provided by the author
GetLogs drains logs of EVM log representations.
Head given the value convert it into an Head.
JSONFromBytes creates JSON from a given byte array.
JSONFromFixture create models.JSON from file path.
JSONFromString create JSON from given body and arguments.
JSONResultFromFixture create model.JSON with params.result found in the given file path.
LegacyTransactionsFromGasPrices returns transactions matching the given gas prices.
LogFromFixture create ethtypes.log from file path.
No description provided by the author
No description provided by the author
No description provided by the author
Mine forces the simulated backend to produce a new block every 2 seconds.
No description provided by the author
MockApplicationEthCalls mocks all calls made by the chainlink application as standard when starting and stopping.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MustHelloWorldAgreement returns the fixture hello world agreement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MustInsertRandomKey inserts a randomly generated (not cryptographically secure) key for testing If using this with the keystore, it should be called before the keystore loads keys from the database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MustJSONDel uses sjson.Delete to remove a path from a JSON string and returns the string.
No description provided by the author
MustJSONSet uses sjson.Set to set a path in a JSON string and returns the string See https://github.com/tidwall/sjson.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MustReadFile loads a file but should never fail.
No description provided by the author
No description provided by the author
NewAddress return a random new address.
NewApplication creates a New TestApplication along with a NewConfig It mocks the keystore with no keys or accounts by default.
NewApplicationEVMDisabled creates a new application with default config but ethereum disabled Useful for testing controllers.
NewApplicationWithConfig creates a New TestApplication with specified test config.
NewApplicationWithConfigAndKey creates a new TestApplication with the given testorm it will also provide an unlocked account on the keystore.
No description provided by the author
NewApplicationWithKey creates a new TestApplication along with a new config It uses the native keystore and will load any keys that are in the database.
No description provided by the author
No description provided by the author
NewBridgeType create new bridge type given info slice.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewEventWebSocketServer returns a new EventWebSocketServer.
No description provided by the author
NewHTTPMockServer create http test server with passed in parameters.
No description provided by the author
No description provided by the author
NewHTTPMockServerWithRequest creates http test server that makes the request available in the callback.
No description provided by the author
NewKeyStore returns a new, unlocked keystore.
No description provided by the author
No description provided by the author
No description provided by the author
NewMockCron returns a new mock cron.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
newIdentity returns a go-ethereum abstraction of an ethereum account for interacting with contract golang wrappers.
No description provided by the author
No description provided by the author
NewTriggerClock returns a new TriggerClock, that a test can manually fire to continue processing in a Clock dependency.
NewWSServer returns a new wsserver.
No description provided by the author
NullableTime will return a valid nullable time given time.Time.
ParseISO8601 given the time string it Must parse the time and return it.
No description provided by the author
No description provided by the author
ParseJSONAPIResponse parses the response and returns the JSONAPI resource.
ParseJSONAPIResponseMeta parses the bytes of the root document and returns a map of *json.RawMessage's within the 'meta' key.
ParseJSONAPIResponseMetaCount parses the bytes of the root document and returns the value of the 'count' key from the 'meta' section.
ParseNullableTime given a time string parse it into a null.Time.
ParseResponseBody will parse the given response into a byte slice.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReadLogs returns the contents of the applications log file as a string.
No description provided by the author
No description provided by the author
No description provided by the author
TxReceiptFromFixture create ethtypes.log from file path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WaitForSpecErrorV2 polls until the passed in jobID has count number of job spec errors.
WebURL parses a url into a models.WebURL.

# Constants

APIEmail is the email of the fixture API user.
APIKey of the fixture API user.
APISecret of the fixture API user.
AssertNoActionTimeout shouldn't be too long, or it will slow down tests.
DBPollingInterval can't be too short to avoid DOSing the test database.
DBWaitTimeout is how long we wait by default for something to appear in the DB.
DefaultKeyFixtureFileName is the filename of the fixture key.
DefaultKeyJSON is the JSON for the default key encrypted with fast scrypt and password 'password' (used for fixture file).
DefaultOCRKeyBundleID is the ID of the default ocr key bundle.
DefaultPeerID is the peer ID of the default p2p key.
DefaultWaitTimeout - to be used especially in parallel tests, as their individual execution can get paused for multiple seconds.
A peer ID without an associated p2p key.
Password just a password we use everywhere for testing.
SessionSecret is the hardcoded secret solely used for test.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
DefaultOCRKeyBundleIDSha256 is the ID of the fixture ocr key bundle.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BlockedRunner is a Runner that blocks until its channel is posted to.
Blocks - a helper logic to construct a range of linked heads and an ability to fork and create logs from them.
EmptyRunner is an EmptyRunner.
EventWebSocketServer is a web socket server designed specifically for testing.
No description provided by the author
HeadBuffer - stores heads in sequence, with increasing timestamps.
No description provided by the author
InstanceAppFactory is an InstanceAppFactory.
InstantClock an InstantClock.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MockCountingPrompter is a mock counting prompt.
MockCron represents a mock cron.
MockCronEntry a cron schedule and function.
MockHeadTrackable allows you to mock HeadTrackable.
No description provided by the author
No description provided by the author
No description provided by the author
MockSubscription a mock subscription.
NeverSleeper is a struct that never sleeps.
RendererMock a mock renderer.
SimulatedBackendClient is an eth.Client implementation using a simulated blockchain backend.
No description provided by the author
TestApplication holds the test application and test servers.
TriggerClock implements the AfterNower interface, but must be manually triggered to resume computation on After.

# Interfaces

EthereumLogIterator is the interface provided by gethwrapper representations of EVM logs.
No description provided by the author

# Type aliases

No description provided by the author