Error: Cross origin null forbidden : —Problem in downloading Open source contracts from Etherscan.io

UPDATED: I am trying to download source code of open source verified contract from Etherscan.io. Here is my procedure as directed by Ann. 1. Download CSV file of captioned contracts. 2. Write following program to print source code of contract const fs = require(‘fs-extra’); const csv = require(‘fast-csv’) const jsdom = require(“jsdom”); const { window…

Cannot install Solidity v0.5.13 in MacOS

Mac Os: Catalina 10.15.1 Z3 Version: 4.8.5 boost Version: 1.71.0 CMake Version: 3.15.5 When I installed solidity 0.5.13 by CMD: brew install solidity, I received : ==> Installing solidity from ethereum/ethereum ==> Downloading https://github.com/ethereum/solidity/releases/download/v0.5.13/solidity_0.5.13.tar.gz Already downloaded: /Users/programmerc/Library/Caches/Homebrew/downloads/10d4ef01a7a6c544f5ac03c9e5ee6c5696d50553003261ad062b07074e2ddc06–solidity_0.5.13.tar.gz ==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/solidity/0.5.13 -DCMA ==> make install Last 15 lines from /Users/programmerc/Library/Logs/Homebrew/solidity/02.make: ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4334:28: error:…

msg.sender is different from chosen account in Metamask when checking from constructor

I am trying to do a comparison of msg.sender and another address inside a contract constructor. The problem is that in the constructor, msg.sender is a different address from the one I chose in Metamask. constructor() public { emit constructorInit(msg.sender); // for debugging if(msg.sender == issuer) { // fails … } else { … }…