2023-06-06 13:50:30 +03:00
|
|
|
# Penalisation of cheating relayers
|
|
|
|
|
|
|
|
### Changes
|
|
|
|
|
|
|
|
- Almost all cheating relayers staked balances will be nullified
|
|
|
|
- Cheating relayer `abracadabra-money-gone.eth` compensated the unpaid commission in double volume, this amount will be burned
|
|
|
|
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
- Rust ([Need only for Windows](https://doc.rust-lang.org/cargo/getting-started/installation.html))
|
|
|
|
- Foundryup ([Windows](https://github.com/altugbakan/foundryup-windows), [Linux](https://book.getfoundry.sh/getting-started/installation))
|
|
|
|
- Node 14 or higher ([Windows](https://github.com/coreybutler/nvm-windows), [Linux](https://github.com/nvm-sh/nvm))
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
```text
|
|
|
|
git clone --recurse-submodules <proposal-repo-link>
|
|
|
|
cd <proposal-name>
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Testing
|
|
|
|
|
|
|
|
```text
|
|
|
|
npm run test
|
|
|
|
```
|
2023-06-07 18:12:51 +03:00
|
|
|
|
|
|
|
### Contract
|
|
|
|
|
|
|
|
Proposal on ethersan: https://etherscan.io/address/0xccB9a3A5996aD2c11C8831F8cF97f5D8c7E027c6#code
|