Consensys / linea-arithmetization

19 stars 19 forks source link

missing precheck in ToyAccount creation #766

Open letypequividelespoubelles opened 1 month ago

letypequividelespoubelles commented 1 month ago

We should get a warning when we create a ToyAccount and filling several time the same field like:


ToyAccount.builder()
            .balance(Wei.fromEth(1))
            .address(receiverAddress)
            .address(someOtherAddress)
            .nonce(116)
            .build();