-
Notifications
You must be signed in to change notification settings - Fork 16
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
Migrate to starknet foundry #83
Comments
I will like to handle this kindly assign |
assigned, feel free to reach out if you have any question |
can i deploy separate contract for different deceleration that has classhash |
I'm not sure i understand the question. If the question is: "Can i deploy multiple contracts that have the same class hash" then the answer is yes |
for each contract, i will create a function that deploy it. |
@LucasLvy am able to deploy all the contract via snforge, i need to refactor the 32 test cases one by one, this will take a bit of time, i will keep you posted as am proceeding with the test |
sounds good, you can also open a draft pr now so it's easier to track the progress |
@LucasLvy am using this address as admin
which set the admin but i keep getting the following error
is there a specific admin we are using. |
|
Hard to say without the code, open the PR plz so i can see exactly where it comes from |
sure let me push a draft PR |
Can you dm me on telegram it'll be easier to chat. My username is |
the problem is the following: // This line changes all the calls to the contract deployed at admin_address so that get_caller_address() returns admin_address
start_prank(CheatTarget::One(admin_address), admin_address);
// What you really want to do is prank the component to think that admin address is calling him
// The component isn't deployed so you can't specify an address as cheat target so you can just do this
start_prank(CheatTarget::All, admin_address); |
Currently the cairo part uses the base testing framework. We need to migrate to use starknet foundry.
doc
The text was updated successfully, but these errors were encountered: