Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3e1e922
add methods wirings
Unheilbar Apr 28, 2025
ab9ca22
add basic functionalities to evm service
Unheilbar Apr 29, 2025
aa2ede0
merge main
Unheilbar Apr 29, 2025
865bb01
add rm generated fixtures
Unheilbar Apr 29, 2025
bc11ba5
EVMRelayer -> EVMService, remove embedded Relayer from EVMService int…
Unheilbar Apr 29, 2025
dcd74da
Merge branch 'BCFR-1417' into BCFR-1330
Unheilbar Apr 29, 2025
be2adbf
post-merge fixes
Unheilbar Apr 29, 2025
666fbe1
rm SubscribeLogTrigger
Unheilbar Apr 29, 2025
de5573a
fix typo
Unheilbar Apr 29, 2025
13eecc8
Merge branch 'main' into BCFR-1330
Unheilbar Apr 30, 2025
b62df80
rm fixtures
Unheilbar Apr 30, 2025
00c31ea
fix typo
Unheilbar Apr 30, 2025
4312101
move evm.proto -> pb/evm
Unheilbar Apr 30, 2025
8af23db
add comments
Unheilbar Apr 30, 2025
b5972f7
polish naming
Unheilbar Apr 30, 2025
22811cc
add comments
Unheilbar Apr 30, 2025
89d5ad2
add tests
Unheilbar May 1, 2025
bc22f08
nit fx
Unheilbar May 1, 2025
104910e
Merge branch 'main' into BCFR-1330
Unheilbar May 1, 2025
fd886ce
replace mocks with static ones
Unheilbar May 2, 2025
22d41c8
add comments, rm generalized types in evmService
Unheilbar May 2, 2025
10d475f
fix tests
Unheilbar May 2, 2025
f39e622
Merge branch 'main' into BCFR-1330
ilija42 May 5, 2025
0c35630
GetLogs -> FilterLogs
Unheilbar May 6, 2025
bd0b68b
add Client() subinterface. string -> bytes type for evm types
Unheilbar May 9, 2025
fddca10
beautify tests
Unheilbar May 9, 2025
d5be9bc
add documenting comments for EVMService
Unheilbar May 9, 2025
63e5175
Merge branch 'main' into BCFR-1330
Unheilbar May 9, 2025
0673a3d
polish comments
Unheilbar May 9, 2025
773d815
rm inderection, EVMClient->GethClient
Unheilbar May 9, 2025
411dd16
QueryLogsFromCache -> QueryTrackedLogs
Unheilbar May 9, 2025
9339197
update comments
Unheilbar May 9, 2025
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
102 changes: 102 additions & 0 deletions pkg/capabilities/triggers/testdata/fixtures/ondemand/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/smartcontractkit/chainlink/capabilities/[email protected]/root",
"properties": {
"config": {
"properties": {},
"additionalProperties": false,
"type": "object"
},
"outputs": {
"properties": {
"Event": {
"properties": {
"TriggerType": {
"type": "string"
},
"ID": {
"type": "string"
},
"Outputs": {
"properties": {
"Underlying": {
"type": "object"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"Underlying"
]
},
"OCREvent": {
"properties": {
"ConfigDigest": {
"type": "string",
"contentEncoding": "base64"
},
"SeqNr": {
"type": "integer"
},
"Report": {
"type": "string",
"contentEncoding": "base64"
},
"Sigs": {
"items": {
"properties": {
"Signature": {
"type": "string",
"contentEncoding": "base64"
},
"Signer": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"Signature",
"Signer"
]
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"ConfigDigest",
"SeqNr",
"Report",
"Sigs"
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"TriggerType",
"ID",
"Outputs",
"OCREvent"
]
},
"Err": true
},
"additionalProperties": false,
"type": "object",
"required": [
"Event",
"Err"
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"config",
"outputs"
],
"description": "An example on-demand trigger."
}
2 changes: 1 addition & 1 deletion pkg/loop/internal/example-relay/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type relayer struct {

func (r *relayer) Name() string { return r.lggr.Name() }

func (r *relayer) AsEVMRelayer() (loop.EVMRelayer, error) {
func (r *relayer) EVM() (types.EVMService, error) {
return nil, nil
}

Expand Down
Loading
Loading