-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port latest changes from go-nitro till commit
dd7dcf3
on August 24 (#…
…118) * Change log format in eth chain and message service * Change log format in node and engine * Comment new block detected log * Update yarn lock file --------- Co-authored-by: neeraj <[email protected]>
- Loading branch information
1 parent
e342f28
commit 26a76b0
Showing
8 changed files
with
145 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ObjectiveId } from '../../protocols/messages'; | ||
|
||
const CHANNEL_ID_LOG_KEY = 'channel-id'; | ||
const OBJECTIVE_ID_LOG_KEY = 'objective-id'; | ||
const ADDRESS_LOG_KEY = 'address'; | ||
|
||
// WithObjectiveIdAttribute returns a logging attribute for the given objective id | ||
export function withObjectiveIdAttribute(o: ObjectiveId): { [key: string]: string } { | ||
return { | ||
[OBJECTIVE_ID_LOG_KEY]: o, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.