Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 10 2017 22:42
    @jpitts banned @etherchamp1_twitter
  • Jun 05 2016 10:33
    @chriseth banned @adamskee
Jim Lynch
@WebWhizJim_twitter
I am following chainlink docs which seem to be totally wrong and outdated... lol
chriseth
@chriseth:matrix.org
[m]
@WebWhizJim_twitter: it looks like you are missing a using statement
cameel
@cameel:matrix.org
[m]

It's hard to tell what's really happening without more details. Do you have cmake output from the build?
You could submit an issue with more details in the bug tracker and we'll investigate.

As a workaround, you could try our own formula that has a dependency on z3: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/solidity.rb
Or try a static binary from solc-bin - these have Z3 statically compiled-in: https://github.com/ethereum/solc-bin/tree/gh-pages/macosx-amd64

fm-b
@fm-b
Hi everyone,
Is it important that what version of compiler we should use?
Are latest versions ok or not?
cameel
@cameel:matrix.org
[m]
@fm-b: Use the latest one.
fm-b
@fm-b
@cameel:matrix.org tnx
MY001
@MYsuanliFeng_twitter
Hello everyone, is anyone interested in Bitcoin, Ethereum, Filecoin mining?
monkeyontheloose
@monkeyontheloo2_twitter
hey hey, wondering what is the solidity operator/function that is max (gas price / actual compute price)
Alexander Lee
@partylikeits1983
Hey everyone! I was wondering if you could take a look at my smart contract and give me some feedback: https://github.com/partylikeits1983/DividendPayingDAO
Robert Oschler
@roschler
Is it possible to get stack traces from from the Ethereum MainNet or one of the TestNets too? My understanding is that it is possible to run a full Ethereum node configured to maintain state persistence and then you can get a stack traces from it. But I have not tried it myself, so I am wondering I can get stack traces from the MainNet or from a TestNet (or self-owned full node) that has been configured that way. Anyone have experience with stack traces on reverted transactions? If so, what tool do I use to get that given a TX ID. Truffle? Hard Hat? etc. Also, any comments on how practical it is to do this, regardless of it being theoretically possible, would be welcome. If this is not the right Gitter channel for this question, please let me know what is.
1 reply
Nick Mudge
@mudgen
I want to let it be known that there is a job board specifically for Solidity jobs here: https://delegatecall.careers/
Berk Serbetcioglu
@berkserbet
Thanks Nick, I'm looking for a freelance solidity dev. Are there freelance jobs there?
1 reply
Nick Mudge
@mudgen
there can be
Gary
@garysdevil
I can't update storage variable by calling another contract from one contract and transfer value, who can give me a favour
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0; 
contract Test1{
    uint private a1 = 11;

    function get()  public view returns (uint){
        return a1;
    }
    function set(uint a) public{
        a1=a;
    }
   function set1() public  {
       a1=22;      
   }
    fallback() external {
        a1=33;
    }
}
contract Test2{
    function call_1(address contractAddress) public{
         (bool success,bytes memory a) =contractAddress.call(abi.encodeWithSignature("set(uint)",44));
        require(success);
    }
   function call_2(address contractAddr) public {
      (bool success,) = contractAddr.call(abi.encodeWithSignature("set1()")); require(success);
      require(success);
   }
}
function "call_1" does not work
STST
@STST00960379_twitter
你好 有人说话吗?
Gary
@garysdevil
怎么了?
DIIMIIM
@DIIMIIM2_twitter
Hello! Does anyone know why nested struct getters return them empty when called via call()? (They work if called from web3js, for example)
1 reply
MY001
@MYsuanliFeng_twitter
Hey! friend.
I am a cryptocurrency investor and a confidential currency mining machine salesperson.
Our company currently sells BTC, ETH, FIL and other mining machines. At the same time, celebrate the first anniversary of Filecoin's launch on the mainnet. 🤜🤛
Currently, there are discounts for mining machines. Filecoin is the only digital certificate of IPFS, and its value will be very high in the future.
Interested friends can scan the QR code to add my contact information.
Gary
@garysdevil

I can't update storage variable by calling another contract from one contract and transfer value, who can give me a favour

I solved

Ding Tian
@ReactTop_gitlab
Hi everyone
What is main difference between ERC721 and ERC1155? which is better to mint NFT ?
KaiRo
@kairo:mozilla.org
[m]
ERC721 is a real NFT. ERC1155 can be NFT-like or fungible tokens, and mainly is there because you can have different kinds of tokens in one token contract
Parham
@parhamrm
Hey guys
I'm stuck recovering signer of a typedData(EIP712) in solidity
I've deployed a minimal version of rarible-protocol
const DOMAIN_TYPE = [
    {
        type: 'string',
        name: 'name'
    },
    {
        type: 'string',
        name: 'version'
    },
    {
        type: 'uint256',
        name: 'chainId'
    },
    {
        type: 'address',
        name: 'verifyingContract'
    }
];

const domainData = {
    name: 'Market721',
    version: '1',
    chainId: '1337',
    verifyingContract: '0x296564F6260b95f99F93fB347d456b7FC825771b'
};

const OrderTypes = {
    AssetType: [
        { name: 'assetClass', type: 'bytes4' },
        { name: 'data', type: 'bytes' }

    ],
    Asset: [
        { name: 'assetType', type: 'AssetType' },
        { name: 'value', type: 'uint256' }
    ],
    Order: [
        { name: 'maker', type: 'address' },
        { name: 'makeAsset', type: 'Asset' },
        { name: 'taker', type: 'address' },
        { name: 'takeAsset', type: 'Asset' }
    ]
};

const createTypeData = (domain, primaryType, message, types) => {
    return {
        types: { EIP712Domain: DOMAIN_TYPE, ...types },
        domain,
        primaryType,
        message
    };
};
const leftUH = {
        maker: "0xfa6954192c3087f9143f5401f7804b405ac84ca5",
        makeAsset: {
            assetType: {
                assetClass: id('ERC20'),
                data: web3.eth.abi.encodeParameter('address', '0xfa6954192c3087f9143f5401f7804b405ac84ca5')
            },
            value: BigNumber("100000000")
        },
        taker: "0x3bed4334ce380cfe41363c7e875a9fc1769578b1",
        takeAsset: {
            assetType: {
                assetClass: id('ERC721'),
                data: web3.eth.abi.encodeParameter({ root: { contract: "address", tokenId: "uint256" }}, { contract: '0xfa6954192c3087f9143f5401f7804b405ac84ca5', tokenId: 1 })
            },
            value: "1"
        }
    };
const leftMsgParams = createTypeData(domainData, 'Order', leftUH, OrderTypes)
    const leftSig = sigUtil.signTypedData_v4(Buffer.from(leftAcc, 'hex'), { data: leftMsgParams });
Parham
@parhamrm
const resault = await market.matchOrders(leftUH, leftSig, rightUH, rightSig);
and when I recover signer in solidity it doesn't match with order.maker which is signer of the order
Ding Tian
@ReactTop_gitlab
Who can explain about EIP-2981 exactly?
MY001
@MYsuanliFeng_twitter
Hey! friend.
I am a cryptocurrency investor and a confidential currency mining machine salesperson.
Our company currently sells BTC, ETH, FIL and other mining machines. At the same time, celebrate the first anniversary of Filecoin's launch on the mainnet. 🤜🤛
Currently, there are discounts for mining machines. Filecoin is the only digital certificate of IPFS, and its value will be very high in the future.
Interested friends can scan the QR code to add my contact information.
http://api.suanlifeng.com/wap/invite/04372723/e8b146e412fb16354e7a4454d623619c/global
Ghost
@ghost~61130d956da037398482e4b1
Hi, everyone. Please check the contract and I'm happy if you let me know why it has higher than normal gas fee for buy/sell.
benjymm
@benjymm
hi, is there any discord for solidity or this is the main group?
Danny Pr.
@dannpr

Hi I'm actually doing an online course and I'm developping on nextjs but I have this poblem on my web3.js code :Server Error
ReferenceError: window is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
eth/web3.js (3:0) @ eval

1 | import Web3 from "web3";
2 |

3 | window.ethereum.request({ method: "eth_requestAccounts" });
4 |
5 | const web3 = new Web3(window.ethereum);
6 |

ETHERUEMconsultant2018
@ETHERUEMconsultant2018
we are so sorry to hear about your situation you can contact eth@consultant.com for any issu
Luis Schliesske
@gitpusha

Hi @cameel:matrix.org I read in the docs:

block.basefee (uint): current block’s base fee (EIP-3198 and EIP-1559)

https://docs.soliditylang.org/en/v0.8.9/cheatsheet.html?highlight=block.basefee

It's a bit ambiguous as to whether this is the base fee of the previous block or the current block that this transaction will be included in.

Is it the basefee of the block that the transaction is included in?

1 reply

Also I wondered what's the best way to get the value for the transactions priorityFee?

Is it: tx.gasprice - block.basefee ?

1 reply
S0AndS0
@s0ands0:matrix.org
[m]
@dannpr: Are ya importing web3.js within a browser or server context?
anyi
@AnYi-ray
Hi, everyone.
I don't know if I can ask such a question here. I apologize first.
I am learning about Ethereum development. I'm interested in instant messaging based on Ethereum or other blockchain platforms, but I don't know much because I'm a novice. If I want to develop an end-to-end instant messaging based on blockchain, what technologies should I learn? Or is there a project recommendation?
My English is very poor, so the above comes from the translator. If there are sentences that are not smooth, I'm so sorry!!!
3 replies
贝克街的天才
@yuyenews
First learn solidity, ethereum programs are all smart contracts. As for the instant messaging you mentioned, it should be a new way of playing smart contracts, just check it out when the time comes.
1 reply
cyphix
@cyphix:systemli.org
[m]
Ethereum Wallet with ERC20 support (GitHub). A simple interface that allows users to transfer tokens after selecting which ERC 20 token they would like to send?
Ding Tian
@ReactTop_gitlab
Hi everyone . is there any contract code to accept BUSD ?
Nuzzep
@nuzzep_twitter
Hello guys, i'm trying to understand the source code of reflect.sol
anyone has an useful documentation or guide or tutorial? thanks
cyphix
@cyphix:systemli.org
[m]
@nuzzep_twitter: Not answer questions here
bunch of questions and not one answer
Dumb canal