These are chat archives for Nethereum/Nethereum

25th
Dec 2018
Enigmatic
@EnigmaticUnreal_twitter
Dec 25 2018 05:07
Merry Christmas Juan!!!!!!
=D
Merry Christmas and happy holidays to all too! :D
keepbreath
@keepbreath
Dec 25 2018 05:09
:)
Enigmatic
@EnigmaticUnreal_twitter
Dec 25 2018 05:09
@keepbreath - :D
fruor
@fruor
Dec 25 2018 18:19
Merry Xmas @juanfranblanco
In ENS, I just can't get a valid SetResolverFunction to go through
I deployed a public Resolver on Ropsten like in the test cases, using PublicResolverService.DeployContractAndWaitForReceiptAsync(
web3,
publicResolverDeployment
);
and that went fine - https://ropsten.etherscan.io/address/0xc1fe09ab60a1ef4c6b0f718ce349ea1f3d138cdd#code
Although it's quite astonishing that there are only 2 more of these contracts on Ropsten, and they are 127 days old
fruor
@fruor
Dec 25 2018 18:26

Now with this contract address ResolverAddr, I do this

SetResolverFunction setResolverFunction = new SetResolverFunction()
{
Resolver = ResolverAddr,
Node = ensUtil.GetNameHash(EnsAddr + ".eth").HexToByteArray()
};

and it always fails - I tried adding Gas, Gasprice, Nonce, FromAddress and AmountToSend but even when I estimate the gas it tells me this transaction will always fail