web4er / ubiquibot

Automating DevPool management.
https://github.com/marketplace/ubiquibot
MIT License
0 stars 0 forks source link

QA: Confirm EOA `/wallet` #13

Open web4er opened 1 year ago

web4er commented 1 year ago

QA for https://github.com/ubiquity/ubiquibot/pull/471

web4er commented 1 year ago

should comment help correctly with new information for the wallet command

web4er commented 1 year ago

/help

web4er-ubiquibot[bot] commented 1 year ago

Available commands

- /assign: Assign the origin sender to the issue automatically.
- /unassign: Unassign the origin sender from the issue automatically.
- /help: List all available commands.
- /multiplier: Set bounty multiplier (for treasury)
- /allow: Set access control. (Admin Only)
- /wallet: <WALLET_ADDRESS | ENS_NAME> <SIGNATURE_HASH>: Register the hunter's wallet address. 
  Your message to sign is: DevPool
  You can generate SIGNATURE_HASH at https://etherscan.io/verifiedSignatures
  ex1: /wallet 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 0x75329f883590507e581cd6dfca62680b6cd12e1f1665db8097f9e642ed70025146b5cf9f777dde90c4a9cbd41500a6bf76bc394fd0b0cae2aab09f7a6f30e3b31b
  ex2: /wallet vitalik.eth 0x75329f883590507e581cd6dfca62680b6cd12e1f1665db8097f9e642ed70025146b5cf9f777dde90c4a9cbd41500a6bf76bc394fd0b0cae2aab09f7a6f30e3b31b
web4er commented 1 year ago

should skip setting wallet when there is no signature

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

should skip setting wallet because the signature is invalid

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x2e33629bd9480b92e5ebe2665f5ffbb9a57c303337d0ced56eb18b91f077812623fc9dc1c44f62366c140f57352fd2cfd0808919a59537d766ec615ce4e595451a

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

should skip setting wallet when signature is correct but message signed is not DevPool

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x76ff636cca236e5a7805132a8272e7711f10748f6bee0252de4052eaf525a5e3207b4dadabe677ed94a638e1cb996a1d72c08d2d22d2409bb0fcdd93f802a4331b

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

should set the wallet when wallet and signature are correct

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x02aa024ce04bfe53648d410cee03a046c54e6ec558b26e376b207cf36c8685404e00e7e2ccb0ba5114f1b890c90881f016f628efbb21c930db789c157690e58c1b

web4er-ubiquibot[bot] commented 1 year ago

Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2

web4er commented 1 year ago

should set the wallet when the wallet is correct, but the wallet is not a checksum address

web4er commented 1 year ago

/wallet 0x1f9fcc0e84dc2094499b848ae37cd6a51db03ff2 0x02aa024ce04bfe53648d410cee03a046c54e6ec558b26e376b207cf36c8685404e00e7e2ccb0ba5114f1b890c90881f016f628efbb21c930db789c157690e58c1b

web4er-ubiquibot[bot] commented 1 year ago

Updated the wallet address for @web4er successfully! Your new address: 0x1f9fcc0e84dc2094499b848ae37cd6a51db03ff2

web4er commented 1 year ago

should skip setting wallet when the signature is not created by the given wallet

web4er commented 1 year ago

/wallet 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 0xad99faac816e62b66b869516f3245708c0e65bf24e7039adc64e5cd35008c153097e26cdd375ef7625681e47f8b85836fff21be07f46ee4e70d983e56d0484731c

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

/wallet vitalik.eth 0xad99faac816e62b66b869516f3245708c0e65bf24e7039adc64e5cd35008c153097e26cdd375ef7625681e47f8b85836fff21be07f46ee4e70d983e56d0484731c

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

Retesting after requested changes

web4er commented 1 year ago

should comment help correctly with new information for the wallet command

web4er commented 1 year ago

/help

web4er-ubiquibot[bot] commented 1 year ago

Available commands

- /assign: Assign the origin sender to the issue automatically.
- /unassign: Unassign the origin sender from the issue automatically.
- /help: List all available commands.
- /multiplier: Set bounty multiplier (for treasury)
- /allow: Set access control. (Admin Only)
- /wallet: <WALLET_ADDRESS | ENS_NAME> <SIGNATURE_HASH>: Register the hunter's wallet address. 
  Your message to sign is: DevPool
  You can generate SIGNATURE_HASH at https://etherscan.io/verifiedSignatures
  ex1: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0xe2a3e34a63f3def2c29605de82225b79e1398190b542be917ef88a8e93ff9dc91bdc3ef9b12ed711550f6d2cbbb50671aa3f14a665b709ec391f3e603d0899a41b
  ex2: /wallet vitalik.eth 0x75329f883590507e581cd6dfca62680b6cd12e1f1665db8097f9e642ed70025146b5cf9f777dde90c4a9cbd41500a6bf76bc394fd0b0cae2aab09f7a6f30e3b31b
web4er commented 1 year ago

should skip setting wallet when there is no signature

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

should skip setting wallet because the signature is invalid

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x2e33629bd9480b92e5ebe2665f5ffbb9a57c303337d0ced56eb18b91f077812623fc9dc1c44f62366c140f57352fd2cfd0808919a59537d766ec615ce4e595451a

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

should skip setting wallet when signature is correct but message signed is not DevPool

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x76ff636cca236e5a7805132a8272e7711f10748f6bee0252de4052eaf525a5e3207b4dadabe677ed94a638e1cb996a1d72c08d2d22d2409bb0fcdd93f802a4331b

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

should set the wallet when wallet and signature are correct

web4er commented 1 year ago

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x02aa024ce04bfe53648d410cee03a046c54e6ec558b26e376b207cf36c8685404e00e7e2ccb0ba5114f1b890c90881f016f628efbb21c930db789c157690e58c1b

web4er-ubiquibot[bot] commented 1 year ago

Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2

web4er commented 1 year ago

should set the wallet when the wallet is correct, but the wallet is not a checksum address

web4er commented 1 year ago

/wallet 0x1f9fcc0e84dc2094499b848ae37cd6a51db03ff2 0x02aa024ce04bfe53648d410cee03a046c54e6ec558b26e376b207cf36c8685404e00e7e2ccb0ba5114f1b890c90881f016f628efbb21c930db789c157690e58c1b

web4er-ubiquibot[bot] commented 1 year ago

Updated the wallet address for @web4er successfully! Your new address: 0x1f9fcc0e84dc2094499b848ae37cd6a51db03ff2

web4er commented 1 year ago

should skip setting wallet when the signature is not created by the given wallet

web4er commented 1 year ago

/wallet 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 0xad99faac816e62b66b869516f3245708c0e65bf24e7039adc64e5cd35008c153097e26cdd375ef7625681e47f8b85836fff21be07f46ee4e70d983e56d0484731c

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c

web4er commented 1 year ago

/wallet vitalik.eth 0xad99faac816e62b66b869516f3245708c0e65bf24e7039adc64e5cd35008c153097e26cdd375ef7625681e47f8b85836fff21be07f46ee4e70d983e56d0484731c

web4er-ubiquibot[bot] commented 1 year ago

Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH. Use etherscan to sign the message DevPool and register your wallet by appending the signature hash.

Usage: /wallet <WALLET_ADDRESS | ENS_NAME>

Example: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c