Portal relayer log fix (#2043)

### Description

#1970 had a small bug

### Drive-by changes

_Are there any minor or drive-by changes also included?_

### Related issues

- Fixes #[issue number here]

### Backward compatibility

_Are these changes backward compatible?_

Yes
No

_Are there any infrastructure implications, e.g. changes that would
prohibit deploying older commits using this infra tooling?_

None
Yes


### Testing

_What kind of testing have these changes undergone?_

None
Manual
Unit Tests

---------

Co-authored-by: nambrot <nambrot@googlemail.com>
Co-authored-by: J M Rossy <jm.rossy@gmail.com>
pull/2051/head
Trevor Porter 2 years ago committed by GitHub
parent 6f7495320b
commit 9a373d0ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      typescript/infra/scripts/middleware/portal-relayer.ts

@ -40,7 +40,9 @@ async function relayPortalTransfers() {
while (true) {
for (const chain of Object.keys(bridgeAdapterConfigs)) {
log('Processing chain', chain);
log('Processing chain', {
chain,
});
const txHashes = await app.fetchPortalBridgeTransactions(chain);
const portalMessages = (
@ -49,7 +51,9 @@ async function relayPortalTransfers() {
)
).flat();
log('Portal messages', portalMessages);
log('Portal messages', {
portalMessages,
});
// Poll for attestation data and submit
for (const message of portalMessages) {

Loading…
Cancel
Save