-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overflow 163 inject logging fields #165
Conversation
117c69d
to
e1b5a6b
Compare
Pull Request Test Coverage Report for Build 9515856803Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9515897819Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9515936999Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add this to
- GetTransactionsByBlockID
- GetOverflowTransactionById (if the above will not inherit)
- GetTransactionById
state.go
Outdated
@@ -532,6 +533,7 @@ func (o *OverflowState) InitializeContracts(ctx context.Context) *OverflowState | |||
|
|||
// GetAccount takes the account name and returns the state of that account on the given network. | |||
func (o *OverflowState) GetAccount(ctx context.Context, key string) (*flow.Account, error) { | |||
ctx = logging.InjectLogField(ctx, "account_name", key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add address here as a seperate logging field, i belive it can have value to have both here. the name is totally local to your configuration while the address could be valuable remotely aswell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll do that, yes
be5d45b
to
d857c56
Compare
d857c56
to
5d05ad5
Compare
Pull Request Test Coverage Report for Build 9563163372Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9563193487Details
💛 - Coveralls |
Closes #163