current position:Home>Gear monthly update April
Gear monthly update April
2022-05-15 07:30:34【Nicole】

4 month ,Gear Successfully passed the internal audit . We want to share some important technical updates from last month .
First , We changed it gstd library . We will msg::send* and msg::reply* It becomes a function that can return errors [1]. If in the system call layer ,msg::send* and msg::reply* Error code returned , The user can handle the errors in the user layer , for example , Not enough gas . We also Added new system call msg::reply_with_gas and msg::reply_commit_with_gas[2], To make consumption gas Reply to your message .
Memory page size becomes configurable [3]. as everyone knows ,WASM The default memory page size is 64KB. stay OS in , This memory page is smaller :Linux by 4 KB,macOS by 16 KB. When you enable lazy pages when , Every time you access the contract data, you need to download all the data from the memory WASM page . Now? , We can reduce this by downloading only some pages , This is much smaller than the native page of the host . We can filter according to the page size , for example 4KB or 16 KB, And by using only these parts WASM Data is stored in memory . Now? , The code page size in memory is reduced to 4 KB.
There is another important technology update , exceed gas The limit message will not be skipped now [4]. before , When the message exceeds the allowed of the current block gas At the upper limit , We'll push the news to the end of the team . however , Now when we meet a gas The upper limit exceeds... Of the current block gas The cost of the message , We are still trying to process the message .
If the process succeeds or fails due to internal logic , We are right. DB Adopt corresponding changes . If because of gas Failed to execute due to cost limitation , We will restore everything related to this message , Re queue at the head of the queue in the block , And stop processing the current block . This guarantees that there will be more... In the next block gas, Make the message processed successfully .
Let's explain this in simpler terms . before , Each of our blocks has a fixed gas fee . This can also be called “ The budget ”. Every message has gas ceiling . If the message gas The upper limit does not meet the block fee or “ The budget ”, The message will be placed at the end of the line , Processed in an ongoing block . This can lead to some problems , Because that means you can't successfully handle gas Messages with a large upper limit .
Based on recent updates , Even if the news is gas The upper limit is higher than that of the block gas “ The budget ”, We still send messages for processing , Because it's practical gas Consumption may be lower than gas ceiling , So that the message conforms to “ The budget ” The requirements of .

4 month 9 Japan ,Gear Attended by Anonymous Club The organization's Beijing offline Meetup[5]. The theme of this activity is Web3 Development opportunities and future . Participants discussed many blockchain projects in depth , Also published on NFT Personal opinion of the market .
We also organized the first sticker design activity and Gear Monthly quiz contest [6].

Gear The chief ecological officer of Pavel Salas Attended by @OrientusPrime[7] Sponsored AMA[8] .
besides , We are also with IOBC cooperation , by Gear The Chinese community held another AMA.
We also held an online Telegram Activities ——Gear Talk[9], The community has the opportunity to learn about Gear The latest development of the Internet .

We attended by @DanteNetwork[10] The organization's Web3 Exchange meeting [11]. This event discussed Web 2.0 and Web 3.0 The difference between , as well as Web3 Some technological improvements brought to people's lives . The audience is right Web3 We also have a deeper understanding of our future .

We have held many events around the world Workshop, Include The first event in Turkey Workshop[12], The Workshop Held at Istanbul Technical University .

We also Mexican UAM Azcapotzalco The University held the second Workshop[13].Workshop In two parts : The first is the theoretical part , Participants learned about blockchain technology and Web3 history . Then there is the practice part —— Use Gear Decentralized network deployment Twitter.

We also held another event for the Chinese community Workshop, Demonstrates how to build DAO.

Gear The first time in Turkey Meetup[14] In Istanbul Craft Beer Lab hold .

besides , We also Organized another... In Mexico Meetup[15], This time, Meetup Got positive feedback , Participants have the opportunity to interact with Gear Team members communicate face to face , And learn more about blockchain technology 、 Smart contract development and Gear platform .
Gear It's the computing component of Boca Ecology ,GearFans yes Gear Enthusiast community .
Reference material
We will msg::send* and msg::reply* It becomes a function that can return errors : https://medium.com/@gear_techs/gear-monthly-updates-april-2022-5a08dc188a03
[2]Added new system call msg::reply_with_gas and msg::reply_commit_with_gas: https://medium.com/@gear_techs/gear-monthly-updates-april-2022-5a08dc188a03
[3]Memory page size becomes configurable : https://github.com/gear-tech/gear/pull/810
[4]exceed gas The limit message will not be skipped now : https://github.com/gear-tech/gear/pull/817
[5]Beijing offline Meetup: https://www.gear-tech.io/events-completed/events-meetups/local-meetup-in-beijing/
[6]Gear Monthly quiz contest : https://www.gear-tech.io/events-completed/events-other/gear-monthly-quiz/
[7]@OrientusPrime: https://twitter.com/OrientusPrime
[8]AMA: https://www.gear-tech.io/events-completed/events-amas/ama-gear-x-orientusprime/
[9]Gear Talk: https://www.gear-tech.io/events-completed/events-other/gear-talk-live-on-telegram/
[10]@DanteNetwork: https://twitter.com/DanteNetwork
[11]Web3 Exchange meeting : https://www.gear-tech.io/events-completed/events-other/web-3-exchange-session/
[12]The first event in Turkey Workshop: https://www.gear-tech.io/events-completed/events-workshop/first-gear-workshop-in-turkey/
[13]Mexican UAM Azcapotzalco The University held the second Workshop: https://www.gear-tech.io/events-completed/events-workshop/workshop-in-mexico-city/
[14]Gear The first time in Turkey Meetup: https://www.gear-tech.io/events-completed/events-meetups/gear-meetup-in-turkey/
[15]Organized another... In Mexico Meetup: https://www.gear-tech.io/events-completed/events-meetups/meetup-in-mexico-city/
copyright notice
author[Nicole],Please bring the original link to reprint, thank you.
https://en.chowdera.com/2022/135/202205142331164034.html
The sidebar is recommended
- Single cell column - how to give orig Ident, change your name
- Fonts best practices
- Wonderful express | April issue of Tencent cloud database
- Illustration: what is the difference between layer 2 and layer 3 switches?
- Activity Notice | timing adjustment of 2022 deterministic network technology and Innovation Summit
- In order to seize the capacity of 5nm chips, AMD will pay an advance payment of US $6.5 billion to TSMC, grofangde and other suppliers; Germany will adopt stricter antitrust rules for Google meta
- It is reported that TSMC will promote the 1.4 nm process next month; Taobaoyuan universe trademark rejected
- Online binary 8-hexadecimal conversion tool
- [paper notes] epsanet: an efficient pyramid sequence attention block on revolutionary neural network
- IndexError: shape mismatch: indexing tensors could not be broadcast together with shapes [2], [3]
guess what you like
What are the development stages of time series database in recent years?
What are the shortcomings of the data model processed in the first stage of time series database?
What are the shortcomings of the data model processed in the second stage of time series database?
What are the development trends of time series database?
What are the characteristics of cloud native multimode database lindorm?
What are the functions of cloud native multimode database lindorm?
Variance, standard deviation, mathematical expectation
Two dimensional Gaussian distribution
Collaborative process and channels (CSP: kotlin, golang)
SQLite3 custom function (UDF)
Random recommended
- SQLite3 minimalist Tutorial & go operating data structures using SQLite memory mode
- Penetration test - DNS rebinding
- The pytoch loading model only imports some layer weights, that is, it skips the method of specifying the network layer
- Parameter and buffer in pytoch model
- torch. nn. functional. Interpolate function
- Specify the graphics card during pytorch training
- [paper notes] Dr TANet: dynamic receptive temporary attention network for street scene change detection
- [MQ] achieve mq-08- configuration optimization from scratch fluent
- New signs are taking place in the Internet industry, and a new transformation has begun
- ACL 2022 | visual language pre training for multimodal attribute level emotion analysis
- Cvpr2022 | latest progress in small sample behavior recognition strm framework, spatio-temporal relationship modeling is still the top priority
- Hallucinations in large models
- Is it safe to open an account online? Which of the top ten securities companies are state-owned enterprises?
- [encapsulation tips] encapsulation of list processing function
- Start with Google sea entrepreneurship accelerator - recruitment and start
- Hard core preview in May! Lecture tomorrow night: virtio virtualization technology trend and DPU practice | issue 16
- Druid source code reading 1 - get connection and release connection
- Graduation summary of actual combat training camp
- Public offering "imported products" temporarily hit the reef? The first foreign-funded public offering BlackRock fund has a lot of bad thoughts or a lot of things. It is acclimatized and the performance of the two products is poor
- Introduction and installation of selenium module, use of coding platform, use of XPath, use of selenium to crawl JD product information, and introduction and installation of sketch framework
- Financial IT architecture - Analysis of cloud native architecture of digital bank
- [paper notes] lsnet: extreme light weight Siamese network for change detection in remote sensing image
- Mock tool equivalent to Fiddler!
- Write a program, input several integers (separated by commas) and count the number of occurrences of each integer.
- Inventory a voice conversion library
- Technology selection of micro service registration center: which of the five mainstream registration centers is the most popular?
- Summary of root cause analysis ideas and methods | ensuring it system and its stability
- JS custom string trim method
- Web3: the golden age of Creator economy
- Introduction and installation of selenium module, use of coding platform, use of XPath, use of selenium to crawl JD product information, and introduction and installation of sketch framework
- Basics: a 5-makefile example
- Database connection pool Druid source code learning (V)
- Check the box to prevent bubbling
- Click on the box to change color
- Local style and global style of uniapp
- LeetCode. 2233. Maximum product after K increases (math / minimum heap)
- Overview, BGP as, BGP neighbor, BGP update source, BGP TTL, BGP routing table, BGP synchronization
- Routing policy and routing control
- Principle and configuration of IS-IS
- Basic operation of linked list (complete code)