Dhruv D Jain

Results 25 comments of Dhruv D Jain

even i am getting this error Gas estimation failed: 'The execution failed due to an exception.'. This transaction will likely revert. If you wish to broadcast, you must set the...

> `yarn.lock` should be untouched. You deleted it. Please fix that i have added it

> Please update and use reset the yarn.lock to the previous commit. I have updated yarn.lock to the previous commit

> I think this would be a great feature to add to the SDK, if you want to open a pull request you can and we can review it I...

> This is good idea. love the pitch. I think there could a lot of examples. would be great to create an issue for each example so that we can...

please open a PR

> I have coded like this: > > ```js > #[derive(Accounts)] > #[instruction(_create_time: u32)] > pub struct CreateProject, > > #[account( > init_if_needed, > seeds = [creator.key().as_ref(), _create_time.to_string().as_bytes(),], > bump,...

> And I also did like this: > > ```js > #[derive(Accounts)] > #[instruction(_create_time: String)] > pub struct CreateProject, > > #[account( > init_if_needed, > seeds = [creator.key().as_ref(), _create_time.as_ref()], >...

Are optional accounts allocated in stack by default? If i want to box those accounts, how would i able to do that? I tried this ```rs /// This failed, due...

Well we can always implement the conversion by ourselves, but its a feature thats good to have.