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

feat(blobs): Allow blobs (which are by definition > 128KB) #146

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

ryanschneider
Copy link
Contributor

@ryanschneider ryanschneider commented Jun 25, 2024

📝 Summary

Currently we are blocking all tx over 128KB, which blocks blob txs.

⛱ Motivation and Context

Arbitrum might want to send blob txs to protect to skip the public mempool: https://flashbots.slack.com/archives/C0689NRL552/p1719345980974439

📚 References

Before:

> go run cmd/blob-sender/main.go -r https://rpc-holesky.flashbots.net --random-privkey --to 0x4bE0Cd2553356b4ABb8b6a1882325dAbC8d3013D -b "0xdeadbeef"

ERRO[0000] Error while sending transaction: invalid target for large tx  client="https://rpc-holesky.flashbots.net"

After:

> go run cmd/blob-sender/main.go -r https://rpc-holesky.flashbots.net --random-privkey --to 0x4bE0Cd2553356b4ABb8b6a1882325dAbC8d3013D -b "0xdeadbeef"
TX 1: 0x77c3481cbacdd3e463aa14e79153c2cf2f6bd66981fd99ab74b48298aca2d136
INFO [06-25|22:12:41.952] [sendRawTransaction] sending raw transaction uid=39a86cd3-12fa-4ae7-8096-ca266135ece6 rpc_method=eth_sendRawTransaction txHash=0x77c3481cbacdd3
INFO [06-25|22:12:41.957] [sendTxToRelay] sending transaction to relay uid=39a86cd3-12fa-4ae7-8096-ca266135ece6 rpc_method=eth_sendRawTransaction txHash=0x77c3481cbacdd3
INFO [06-25|22:12:42.015] [sendTxToRelay] sending transaction      uid=39a86cd3-12fa-4ae7-8096-ca266135ece6 rpc_method=eth_sendRawTransaction txHash=0x77c3481cbacdd3e463
INFO [06-25|22:12:43.498] [sendTxToRelay] Sent                     uid=39a86cd3-12fa-4ae7-8096-ca266135ece6 rpc_method=eth_sendRawTransaction txHash=0x77c3481cbacdd3e463
INFO [06-25|22:12:43.498] Request finished                         uid=39a86cd3-12fa-4ae7-8096-ca266135ece6 rpc_method=eth_sendRawTransaction duration=1.751

✅ I have run these commands

  • make lint
  • make test
  • go mod tidy

@ryanschneider
Copy link
Contributor Author

Closing this as it makes more sense to send blobs directly via the relay API instead of through the RPC endpoint.

@ryanschneider ryanschneider merged commit 36fbf1d into main Jul 22, 2024
2 checks passed
@ryanschneider ryanschneider deleted the allow-blobs branch July 22, 2024 14:53
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