trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.31k forks source link

Tezos: allow passing of source in method call #3442

Open shekhar-shubhendu opened 4 years ago

shekhar-shubhendu commented 4 years ago

Issue

When using from ethereum we can pass a custom address via from param and in tezos (via taquito) this can be done via passing source but truffle (truffle contract) does not support source param so I can not use it.

Steps to Reproduce

try doing the method call like one of the below:

  1. contractInstance.myMethod({source: myAddress})
  2. contractInstance.myMethod({from: myAddress})

Expected Behavior

Either of the above should change the source address

Actual Results

Source address remains unchanged. Therefore it is hard to test the actual access control logic.

Environment

haltman-at commented 4 years ago

Thanks for reporting this! Just to be certain, you are saying that not only does source not work, but also that from does not work either? Or does from work and source does not?

shekhar-shubhendu commented 4 years ago

It is the first one. Neither source nor from seems to work.

vivienbcr commented 3 years ago

I confirm, source and from not working to switch accounts.. @shekhar-shubhendu do you have find a way to by pass this problem to test a contract with multiple accounts ?

shekhar-shubhendu commented 3 years ago

@vivienbcr nope. i never found one. i just used plain taquito to test the stuff.

BearCooder commented 1 year ago

Hello @haltman-at & @fainashalts can you please make a statement as to why Tezos support is not a priority anymore? To be honest it leaves a bad taste after the big announcement od Tezos support in Truffle (Twitter and Blogpost) over two years ago. The funny thing is the support didnt last long, less than a year later Truffle started to ghost all issues and update requests on github or stated to do it later.. why the sudden change back then?

At least make either make it official and announce that you are not supporting Tezos anymore or at least update Tezos Truffle to current protocol standard. I dont know maybe its a failure on the communication side, maybe Truffle @tcoulter and Tezos Foundation @drchrispinnock need to talk but the current state is unfortunate.