From eeff213c555b0bb401afa6a8ef252861a490be25 Mon Sep 17 00:00:00 2001 From: amit-momin <108959691+amit-momin@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:38:57 -0600 Subject: [PATCH] Added env var default override to eth-beacon (#3178) --- .changeset/tall-ducks-lie.md | 5 +++++ packages/sources/eth-beacon/src/config/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/tall-ducks-lie.md diff --git a/.changeset/tall-ducks-lie.md b/.changeset/tall-ducks-lie.md new file mode 100644 index 0000000000..84acee156d --- /dev/null +++ b/.changeset/tall-ducks-lie.md @@ -0,0 +1,5 @@ +--- +'@chainlink/eth-beacon-adapter': patch +--- + +Added env var default override to set MAX_PAYLOAD_SIZE_LIMIT to 5MB diff --git a/packages/sources/eth-beacon/src/config/index.ts b/packages/sources/eth-beacon/src/config/index.ts index b90f6bc177..3fffadbc8e 100644 --- a/packages/sources/eth-beacon/src/config/index.ts +++ b/packages/sources/eth-beacon/src/config/index.ts @@ -40,6 +40,7 @@ export const config = new AdapterConfig( { envDefaultOverrides: { API_TIMEOUT: 60000, + MAX_PAYLOAD_SIZE_LIMIT: 5000000, }, }, )