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

Blockaid scanning for the off-chain messages: off-chain voting messages from the snapshot can not be scanned by the blockaid #4540

Open
liliya-soroka opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working major Major bug (to be solved in the next release)

Comments

@liliya-soroka
Copy link
Member

Bug description

Blockaid scanning for the off-chain messages: off-chain voting messages from the snapshot can not be scanned by the blockaid

Environment

  • Browser: Chrome
  • Wallet: MetaMask
  • Chain: Ethereum mainnet/any

Steps to reproduce

  1. Open snapshot safe app
  2. open test space ( I used Optimism and test space/ Ethereum + safe dao)
  3. click vote
    Current result: Off-chain message appears in the safe with error from the blockaid
image

Payload :
{"chain":"ethereum","account_address":"0x8675B754342754A30A2AeF474D114d8460bca19b","data":{"method":"eth_signTypedData_v4","params":["0x8675B754342754A30A2AeF474D114d8460bca19b","{\"types\":{\"Vote\":[{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"space\",\"type\":\"string\"},{\"name\":\"timestamp\",\"type\":\"uint64\"},{\"name\":\"proposal\",\"type\":\"bytes32\"},{\"name\":\"choice\",\"type\":\"uint32\"},{\"name\":\"reason\",\"type\":\"string\"},{\"name\":\"app\",\"type\":\"string\"},{\"name\":\"metadata\",\"type\":\"string\"}],\"EIP712Domain\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"version\",\"type\":\"string\"}]},\"domain\":{\"name\":\"snapshot\",\"version\":\"0.1.4\"},\"primaryType\":\"Vote\",\"message\":{\"from\":\"0x8675b754342754a30a2aef474d114d8460bca19b\",\"space\":\"safe.eth\",\"timestamp\":\"1732104269\",\"proposal\":\"0x81ee38f2ca886c3a868531efe635812ad6df9ad871238c9d704e397864a8fcf0\",\"choice\":\"2\",\"reason\":\"\",\"app\":\"snapshot\",\"metadata\":\"{}\"}}"]},"options":["simulation","validation"],"metadata":{"domain":"app.safe.global"}}

Response :
image

Expected result

Need to check with blockaid why there is an error

Obtained result

Screenshots

@liliya-soroka liliya-soroka added the bug Something isn't working label Nov 20, 2024
@liliya-soroka liliya-soroka added the major Major bug (to be solved in the next release) label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major Major bug (to be solved in the next release)
Projects
None yet
Development

No branches or pull requests

1 participant