Closed Quentash closed 2 months ago
I have chosen the 0x0b instead of 0x100 because of the amount of lines that the second one would have added to the precompiles.cairo and I am currently unaware of a precompiled contract at address 0x0b.
You can just add a specific if / else before the match table handling this specific case for 0x100. This should not be an issue when deciding a precompile address. Given that it seems a consensus was found on using 0x100 - 0x1ff for rollup precompiles, let's go with 0x100
Corrected precompiled contracts address range
some tests are failing, can you verify is 256
or 0x100
is an address used in tests?
Alright, my bad, I missed those since I struggle running every tests and didn't notice it on github. But indeed, some tests were deploying on the 0x100 address which created conflicts. I changed them to deploy their test contract on 0x101.
Alright, my bad, I missed those since I struggle running every tests and didn't notice it on github. But indeed, some tests were deploying on the 0x100 address which created conflicts. I changed them to deploy their test contract on 0x101.
0x101 is still too "close" we should ideally have a random value like 0xabfa740ccd
You're right ! 0xabfa740ccd it is then !
Add the precompiled contracts p256verify to the list of precompiled contracts at address 0x0b following this implementation : https://github.com/ethereum/go-ethereum/pull/27540 .
I have chosen the 0x0b instead of 0x100 because of the amount of lines that the second one would have added to the precompiles.cairo and I am currently unaware of a precompiled contract at address 0x0b.
Pull Request type
Please check the type of change your PR introduces:
What is the current behavior?
Resolves: #755
What is the new behavior?
Does this introduce a breaking change?
This change is![Reviewable](https://reviewable.io/review_button.svg)