-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update real-fvr branch #109
Open
Quicksaver
wants to merge
227
commits into
bepronetwork:real-fvr
Choose a base branch
from
RealFevr:real-fvr
base: real-fvr
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-removed unused old file 'src/models/ERC20TokenLock' that was relocated somewhere else.
-file 'src/Web3Connection' for Web3 creation selecting the correct network, is based on old file src/Application.js -added a short tests file for Application class.
-removed all getContract functions from Application, and export each contract model ready for use. -src/models updated to use Web3Connection.js NOTE: src/IContract.js base class has the Web3Connection.js object to setup proper network.
…o i19-rm-getcontract-func # resolved the following conflicts: # build/models/ERC20/ERC20Contract.js # build/models/ERC20/ERC20TokenLock.js # src/Application.js # src/models/ERC20/ERC20Contract.js # src/models/ERC20/ERC20TokenLock.js
-latest merge from master had a few conflicts left unresolved.
…o i19-rm-getcontract-func # resolved all conflicts: # build/Application.js # build/contracts/Address.json # build/contracts/BEPRONetwork.json # build/contracts/CappedToken.json # build/contracts/Context.json # build/contracts/ERC165.json # build/contracts/ERC20.json # build/contracts/ERC20Test.json # build/contracts/ERC20TokenLock.json # build/contracts/ERC721.json # build/contracts/ERC721Colectibles.json # build/contracts/ERC721Standard.json # build/contracts/EnumerableMap.json # build/contracts/EnumerableSet.json # build/contracts/Exchange.json # build/contracts/IERC165.json # build/contracts/IERC20.json # build/contracts/IERC721.json # build/contracts/IERC721Enumerable.json # build/contracts/IERC721Metadata.json # build/contracts/IERC721Receiver.json # build/contracts/Migrations.json # build/contracts/Opener.json # build/contracts/OpenerRealFvr.json # build/contracts/Ownable.json # build/contracts/Pausable.json # build/contracts/SafeMath.json # build/contracts/StakingContract.json # build/contracts/Strings.json # build/contracts/Token.json # build/contracts/_IERC20.json # build/models/BEPRO/Network.js # build/models/ERC20/ERC20Contract.js # build/models/ERC20/ERC20TokenLock.js # build/models/ERC721/ERC721Collectibles.js # build/models/ERC721/ERC721Standard.js # build/models/IContract.js # build/models/PredictionMarkets/ExchangeContract.js # build/models/Staking/StakingContract.js # index.js # src/Application.js # src/models/BEPRO/Network.js # src/models/ERC20/ERC20Contract.js # src/models/ERC20/ERC20TokenLock.js # src/models/ERC721/ERC721Collectibles.js # src/models/ERC721/ERC721Standard.js # src/models/IContract.js # src/models/Staking/StakingContract.js # tests/erc20Contract.js # tests/erc20TokenLock.js # tests/erc721Collectibles.js # tests/exchangeContract.js # tests/index.js # tests/stakingContract.js # xunit.xml
-fixed StakingContract constructor when creating ERC20Contract, give it the correct params.tokensAddress -fixed erc20TokenLock test bug when deploying ERC20TokenLock -fixed missing declaration for "erc20Contract" variable in stakingContract tests. [REFACTORY] -added "params" object in comments on all models wherever it was missing. -removed "mainnet" property from config object params when testing as latest code refactory made it obsolete.
…o i19-rm-getcontract-func
-some code cleaning and improvements were made in tests files. [NEW] -added generic test file "tests/generics.js" for common behaviour found in all exported models. [UPDATES] -source file "src/Web3Connection.js" updated: -functions "start", "getETHNetwork", "getAddress" and "getETHBalance" were made normal from lambda (arrow). -function "_loadDataFromWeb3Connection" added in "src/models/IContract.js" file.
…o i19-rm-getcontract-func # Conflicts: # src/Application.js # src/models/BEPRO/Network.js # src/models/IContract.js # src/models/custom/RealFvr/OpenerRealFvr.js
Update Network.sol
…into real-fvr-luis
Real fvr luis
moshmage
added a commit
that referenced
this pull request
May 1, 2022
Review Update real-fvr branch #109 to merge with master
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTEStill WIP as we are finalizing thorough testing on our side, butI'd appreciate your eyes going through the code in the meantime, to see if anything jumps up just by looking.I will update this PR when testing on our side is finished before merging. So please don't merge until then as we don't want this in production just yet.😄List of changes
master
watch
andbuild
steps to help with using a hot-localhost copy in our projectsgasFactor, gasAmount, gasPrice
parameters applied to transactions__sendTx()
now expects a second argument to override these values, hopefully I didn't add any compatibility issues with thisERC721Contract
andERC721Standard
- didn't want to mess with existing code that might depend with one or the other specifically, couldn't tell which was supposed to be "the one" overallweb3Connection
if needed, but ensure it's startedopt.provider
to Web3Connection, with assumed connection logic (no need for internal start() or login())