Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 10 additions & 10 deletions reports/llms-report.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"startedAt": "2025-12-09T14:01:39.057Z",
"startedAt": "2025-12-09T18:04:32.521Z",
"siteBase": "https://docs.chain.link",
"sections": [
{
"section": "cre-go",
"pagesProcessed": 83,
"outputPath": "src/content/cre/llms-full-go.txt",
"bytes": 651615,
"prevBytes": 651595,
"deltaBytes": 20
"bytes": 655973,
"prevBytes": 651615,
"deltaBytes": 4358
},
{
"section": "cre-ts",
"pagesProcessed": 78,
"outputPath": "src/content/cre/llms-full-ts.txt",
"bytes": 607118,
"prevBytes": 607098,
"deltaBytes": 20
"bytes": 611476,
"prevBytes": 607118,
"deltaBytes": 4358
},
{
"section": "vrf",
Expand Down Expand Up @@ -86,9 +86,9 @@
"section": "resources",
"pagesProcessed": 12,
"outputPath": "src/content/resources/llms-full.txt",
"bytes": 338205,
"bytes": 339715,
"prevBytes": 338205,
"deltaBytes": 0
"deltaBytes": 1510
},
{
"section": "architecture-overview",
Expand Down Expand Up @@ -123,5 +123,5 @@
"deltaBytes": 0
}
],
"finishedAt": "2025-12-09T14:01:43.169Z"
"finishedAt": "2025-12-09T18:04:37.177Z"
}
10 changes: 5 additions & 5 deletions src/content/cre/getting-started/part-4-writing-onchain-go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ Here is the source code for the contract so you can see how it works:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import { IReceiverTemplate } from "./keystone/IReceiverTemplate.sol";
import { ReceiverTemplate } from "./ReceiverTemplate.sol";

/**
* @title CalculatorConsumer (Testing Version)
* @notice This contract receives reports from a CRE workflow and stores the results of a calculation onchain.
* @dev This version uses IReceiverTemplate without configuring any security checks, making it compatible
* @dev This version uses ReceiverTemplate without configuring any security checks, making it compatible
* with the mock Forwarder used during simulation. All permission fields remain at their default zero
* values (disabled).
*/
contract CalculatorConsumer is IReceiverTemplate {
contract CalculatorConsumer is ReceiverTemplate {
// Struct to hold the data sent in a report from the workflow
struct CalculatorResult {
uint256 offchainValue;
Expand All @@ -66,13 +66,13 @@ contract CalculatorConsumer is IReceiverTemplate {

/**
* @dev The constructor doesn't set any security checks.
* The IReceiverTemplate parent constructor will initialize all permission fields to zero (disabled).
* The ReceiverTemplate parent constructor will initialize all permission fields to zero (disabled).
*/
constructor() {}

/**
* @notice Implements the core business logic for processing reports.
* @dev This is called automatically by IReceiverTemplate's onReport function after security checks.
* @dev This is called automatically by ReceiverTemplate's onReport function after security checks.
*/
function _processReport(bytes calldata report) internal override {
// Decode the report bytes into our CalculatorResult struct
Expand Down
10 changes: 5 additions & 5 deletions src/content/cre/getting-started/part-4-writing-onchain-ts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ Here is the source code for the contract so you can see how it works:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import { IReceiverTemplate } from "./keystone/IReceiverTemplate.sol";
import { ReceiverTemplate } from "./ReceiverTemplate.sol";

/**
* @title CalculatorConsumer (Testing Version)
* @notice This contract receives reports from a CRE workflow and stores the results of a calculation onchain.
* @dev This version uses IReceiverTemplate without configuring any security checks, making it compatible
* @dev This version uses ReceiverTemplate without configuring any security checks, making it compatible
* with the mock Forwarder used during simulation. All permission fields remain at their default zero
* values (disabled).
*/
contract CalculatorConsumer is IReceiverTemplate {
contract CalculatorConsumer is ReceiverTemplate {
// Struct to hold the data sent in a report from the workflow
struct CalculatorResult {
uint256 offchainValue;
Expand All @@ -66,13 +66,13 @@ contract CalculatorConsumer is IReceiverTemplate {

/**
* @dev The constructor doesn't set any security checks.
* The IReceiverTemplate parent constructor will initialize all permission fields to zero (disabled).
* The ReceiverTemplate parent constructor will initialize all permission fields to zero (disabled).
*/
constructor() {}

/**
* @notice Implements the core business logic for processing reports.
* @dev This is called automatically by IReceiverTemplate's onReport function after security checks.
* @dev This is called automatically by ReceiverTemplate's onReport function after security checks.
*/
function _processReport(bytes calldata report) internal override {
// Decode the report bytes into our CalculatorResult struct
Expand Down
Loading
Loading