Skip to content
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

logs: remove TraceHttp entries from HTTP endpoint #147

Merged
merged 7 commits into from
Jan 26, 2024
Merged

Conversation

rvanasa
Copy link
Collaborator

@rvanasa rvanasa commented Jan 25, 2024

Removes all TraceHttp log entries from the public /logs API endpoint, since these messages could include API keys of custom RPC service URIs or other potentially sensitive information.

I also removed the Debug trait from anything storing an API key to ensure that we cannot accidentally include these in log messages.

@rvanasa rvanasa marked this pull request as ready for review January 25, 2024 19:38
@rvanasa rvanasa merged commit 1ad6d7f into main Jan 26, 2024
3 checks passed
@rvanasa rvanasa deleted the http-trace-in-logs branch January 26, 2024 19:13
gitlab-dfinity pushed a commit to dfinity/ic that referenced this pull request Jan 29, 2024
…ister'

feat(evmrpc): set up `evm-rpc-canister` branch

Prerequisite changes for [#146](dfinity/evm-rpc-canister#146), [#147](dfinity/evm-rpc-canister#147), and [#148](dfinity/evm-rpc-canister#148) in the [EVM RPC canister](https://github.com/internet-computer-protocol/ic-eth-rpc) repository. Merges into the `evm-rpc-canister` branch.

* Adds an `RpcConfig` struct with optional `response_size_estimate` field.
* Changes the default response size estimate for `eth_getLogs` from 100 to 1024.
* Refactors the ckETH max header size so that it is not added to the custom response size.
* Updates CI based on the requirements for the `evm-rpc-canister` branch. 
* Removes the `Debug` trait from `RpcApi` (which may contain API keys).
* Adjusts `ValidationError` enum variants.

Note that these changes will not be merged into `master` at any point and are only used for the EVM RPC canister. 

See merge request dfinity-lab/public/ic!17319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants