Skip to content
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

Create if not exists for citext extension #1161

Merged
merged 1 commit into from
May 7, 2019
Merged

Conversation

jleeh
Copy link
Contributor

@jleeh jleeh commented May 7, 2019

To correct deployment issues, as extensions require superuser privileges.

@jleeh jleeh requested a review from j16r May 7, 2019 17:32
Copy link
Contributor

@j16r j16r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jleeh jleeh merged commit 4514090 into master May 7, 2019
@se3000 se3000 deleted the bug/extension-if-not-exists branch September 11, 2019 19:27
asoliman92 pushed a commit that referenced this pull request Aug 30, 2024
…1161)

## Motivation
We use DAGasPriceEstimator to roughly estimate execution cost of a
message in the Exec plugin.

During this execution cost estimation, we need to account for the data
availability component:


```
type DAGasPriceEstimator struct {
    daOverheadGas       int64
    gasPerDAByte        int64  
    daMultiplier        int64
}
```
however, these fields are not used atm, they remain 0 during cost
estimation. The challenge is they live in OnRamp.sol DynamicConfig,


```
struct DynamicConfig {
    uint32 destDataAvailabilityOverheadGas; //    Extra data availability gas charged on top of the message, e.g. for OCR
    uint16 destGasPerDataAvailabilityByte; //     Amount of gas to charge per byte of message data that needs availability
    uint16 destDataAvailabilityMultiplierBps; //  Multiplier for data availability gas, multiples of bps, or 0.0001
}
 ```

We need to read them via the OnRamp reader and pass that into the DAGasPriceEstimator one way or another.
## Solution

New service implemented to transfer onRamp config to offRamp/commit plugins. It provides weak dependency between plugins and provides actual data on demand.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants