I used the "npm run compile" command to compile the protocol-v2 in the aave. I found that bytecode size of LendingPool.sol is 43,892 bytes. It exceeds the 24k of the contract's max limit of evm. But the protocol-v2 can deploy this contract to ethereum by using hardhat-deploy. I want to know the reason.
The bytecode size of LendingPool.sol is over 24k
371 Views Asked by 郝丽锋 At
1
There are 1 best solutions below
Related Questions in COMPILATION
- gcc static library compilation
- AngularJS directive within ng-if won't run
- How do I compile QScintilla and Eric6 on Linux?
- Troubleshoot slow compilation
- C ignoring incrementation
- Compiling or using RtMidi on Windows 7
- within a project can I compile a module and interactively load the compiled module within ghci?
- C++ / compilation of a program fatal error: QtGui/qwidget.h: No such file or directory
- What do I have to consider when putting all code in the header?
- how do i compile a file with plugin stuff?
- Error when compiling simple LLVM example with Mingw
- Ant debug and ant release failed
- Compilation failure in JNativeHook
- error: C1083: Cannot open include file: 'ui_MainWindow.h': No such file or directory, Qt Creator
- Netbeans not using available memory during compilation
Related Questions in SIZE
- can you use c code to read a .txt file size?
- Hiding overflowing element based on its height
- I want to drag an image to my pdf file using itext java
- MySQL error: The maximum column size is 767 bytes
- Increase the maximum size of char array
- Random double free or invalid next_size
- Java Swing JPanel size not working
- Reduce apk size with combine java files
- 1MiB = 1024KiB = 2^10. Nonetheless, why not use just 1000 byte instead 1024 to calculate size?
- Is possible to set hadoop blocksize 24 MB?
- Swift - Checking size of UIImageView
- Objective C - bold and change string text size for drawing text onto pdf
- Predictionio very large task size
- Wordpress select and crop in plugin
- Angular : get Dimension from Base64 Image
Related Questions in SOLIDITY
- solcover fail to generate test coverage with my simple add contract
- Automatic Transfer of Token in Solidity Contract
- How to test smart contract with cross-contract invoke using truffle?
- solidity - get return value of delegatecall with assembly
- Link Javascript to Solidity?
- Can we use mysql with ethereum?
- How do display all the events logs from a smart contract?
- sending ether to external address using fallback function in an ethereum contract
- The install of solidity extension was failed for Visual Studio 2017
- Can't call contract function in truffle console
- Solidity: Burn event vs Transfer to 0 address
- Creating instance of contract inside another contract and calling it's methods results in thrown exception
- solidity, set value to state Variables, the value not changed
- Front-end development: Why the return values are not shown correctly in my browser?
- web3.eth.accounts returning a function
Related Questions in BYTECODE
- Java BLOAT Remove Parameter?
- .class file contains no variable names although setting to create those is activated
- How do I use byte buddy to create a lazy loading class?
- Java code to be compiled into MethodHandle in Constant Pool
- Display generated bytebuddy bytecode
- Bytecode instrumentation using ASM 5.0 . inject a tracer to trace local variables
- At what point in time does an instance of a C# class with a generic Type parameter lose awareness of its "generic"-ness?
- ASM Keep Method Calls Logs
- LLVM IR printing a number
- Android bytecode: value of some variables not defined
- Using Javassist to insert try/finally logic that wraps the original method logic
- What is the dis function doing when I pass in a string?
- How to get bytecode of cglib proxy class instance?
- Read Java Socket connect values using bytecode instrumentation
- Instantiation time for mutable default arguments of closures in Python
Related Questions in EVM
- Does Solidity gets reduced to LLL in the process of compiling it to EVM bytecode?
- Is it possible to call a contract in solidity, using its storage but passing along msg.sender?
- Why jumping into an instruction even if containing a JUMPDEST does not work?
- How to use chainlink automation to call a function with onlyAdmin modifier?
- ERc20 balance is not update when using proxy
- I'm trying to deploy any contract on EVM but it fails stating "Transaction has been reverted by the EVM."
- TypeError: invalid value for Contract target (argument="target", value=null, code=INVALID_ARGUMENT, version=6.8.1)
- Disassembling bytecode into opcodes across different EVM versions
- How to apply opcodes optimization directly on opcodes? Solidity compiler
- ERC721 contract call: transfer caller is not owner nor approved
- Solidity (solc) compile challenge
- The bytecode size of LendingPool.sol is over 24k
- Gnosis Safe Contracts : Error deploying to custom Network
- EVM command line interface drops heading zeros in input
- ERC721 Smart contract revoke approval
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The Aave LendingPool.sol was compiled with the optimizer configured for 200 runs, see the
SettingsJSON under the link.Solidity optimizer removes unused bytecode, optimizes paths, replaces multiple chunks of the same bytecode with links to just one copy of it, ... and one of its effects is reducing the bytecode size.