Content pfp
Content
@
0 reply
18 recasts
21 reactions

billzh pfp
billzh
@billzh
$FARTS experiment has failed and I'm calling it off. - A contract bug has made it impossible to move funds out of the treasury (to Purple or anyone else) - Will burn all remaining tokens and renounce ownership soon
35 replies
13 recasts
52 reactions

billzh pfp
billzh
@billzh
More technical details: - in withdrawToPurple function, `transfer` will always run out of gas because the Purple treasury is a proxy contract. Should use `call` instead - $FARTS contract is not upgradable and the Purple address is hardcoded (s/o to @neokry for pointing out the bug)
5 replies
0 recast
3 reactions

shahruz pfp
shahruz
@shahruz
i think there's a way around this - i helped a project that ran into similar issues around withdrawing to a gnosis safe. these two links helped us at the time: https://help.safe.global/en/articles/40813-why-can-t-i-transfer-eth-from-a-contract-into-a-safe https://github.com/folia-app/eip-2929
4 replies
1 recast
14 reactions

grin pfp
grin
@grin
wait would this have actually worked if he didnt renounce?
1 reply
0 recast
1 reaction

billzh pfp
billzh
@billzh
No
3 replies
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
lol yes it would have worked
1 reply
0 recast
6 reactions

grin pfp
grin
@grin
could you explain plz (coincidentally im learning solidity so this would be good to know)
1 reply
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
Check the links I shared, especially the Safe FAQ one. It’s the same issue, there’s a way to configure the gas in a call to allow for the transfer to happen.
1 reply
1 recast
5 reactions

timdaub pfp
timdaub
@timdaub.eth
So if some storage would have been prewarmed by this accessList override?
1 reply
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
Yeah the Folia GitHub link shows a sample script to get around that. It’s the same method we used to recover funds in the other project I mentioned. Worked like a charm
1 reply
0 recast
1 reaction

timdaub pfp
timdaub
@timdaub.eth
Ah but do you have more knowledge than that? Because I think there are still many specifics then.
1 reply
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
I don’t know anything more specific than what’s mentioned in the links unfortunately, it’s ultimately just a basic gas allocation issue
1 reply
0 recast
1 reaction

timdaub pfp
timdaub
@timdaub.eth
Yeah, well as Wareen Buffet says: Heavily discount anything that you cannot control. So I guess we‘ll never know 😅
1 reply
0 recast
0 reaction

🗿 pfp
🗿
@bias
I would trust @shahruz with this kinda thing over anything Jimmy or Warren Buffet have to say about anything my dear boy
2 replies
0 recast
7 reactions

timdaub pfp
timdaub
@timdaub.eth
I think to trust here is pretty stupid. If someone invests the time this can be known for a fact, so why trust when it is factually confirmable
1 reply
0 recast
0 reaction

timdaub pfp
timdaub
@timdaub.eth
Clearly you guys haven‘t gotten m point. I could actually confirm or deny this by just doing it. But I‘m not doing it because it won‘t change anything about my financial situation. Just because I know that renouncing ownership was factually stupid, I won‘t gain more money. So I‘m not doing it. Waste of time
1 reply
0 recast
1 reaction

shahruz pfp
shahruz
@shahruz
as a dev I care about other devs being aware of this kind of thing. odds are that one of us will make the same mistake again in the future, and it’s better for all of us if it’s easier to troubleshoot from google & farcaster
1 reply
1 recast
3 reactions

timdaub pfp
timdaub
@timdaub.eth
that‘s fine. I‘m just annoyed I have do deal with dumbass comments like that of bias that misunderstand the context or what I‘m for and just insult. And the anon acc doesn‘t help bc ofc it‘s asymmetric who can insult how much. I want to mute these dumbasses by WC is broken
1 reply
0 recast
2 reactions