Comments (2)
I set the maximum number of portals that can be purchased in one call to openPortals
to 50.
However it is still possible to purchase more than 50 portals in a single transaction by calling openPortals
multiple times within the same transaction.
But setting the maximum number of portals that can be purchased in one call to openPortals
makes it harder to purchase more than that in a single transaction and increases the gas cost to do so and reduces the total number that can be purchased in a single transaction. The block gas limit determines the maximum number of portals that can be purchased in a single transaction.
Commit: 6eea94e
from aavegotchi-contracts.
Yes, I see what you mean. Someone very motivated to get all of the Portals in one block could spam multiple buyPortals
transactions in the same block. But I think it's good to have the hard-coded limit nonetheless.
Closed for now.
from aavegotchi-contracts.
Related Issues (20)
- Onchain Runner sets have Wine instead of Water Jug HOT 1
- Wearable Sets are calculated differently in different places (affects Rarity Farming)
- Trait ranges are unbalanced
- Update deploy script to deploy first but without deploying a haunt. HOT 1
- LibAavegotchi.verify always reverts (causes ShopFacet.buyPortals to always revert) HOT 1
- LibAavegotchi.xpUntilNextLevel will revert if _experience > ((currentLevel**2) * 50) HOT 2
- UNI eyes do not show eye color HOT 2
- Possible bug with names not being re-available after being used once HOT 2
- Fix gotchis mouth color.
- Fix Farmer Pitch Fork wearable color when gotchi wears it. HOT 2
- Fix pixel breaking on some visual traits. HOT 1
- Track suit wearable sleeveless. HOT 3
- Fix position of some body wearables. HOT 2
- How to return all listings with getERC721Listings(0, 'purchased', _length )? HOT 1
- getAavegotchiListings( _category, 'purchased', _length) works only with small datasets HOT 1
- what is the address of process.env.DIAMOND_UPGRADER HOT 5
- > > > The address is 0x35FE3dF776474a7B24B3B1EC6e745a830FdAd351 HOT 1
- interact should require that the aavegotchi has been claimed already. HOT 1
- How to fetch the newest price of GHST
- Transaction reverted and Hardhat couldn't infer the reason. Please report this to help us improve Hardhat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aavegotchi-contracts.