@@ -182,3 +182,28 @@ impl From<BundleStateIndex<'_>> for BundleState {
182
182
Self { state, reverts : Default :: default ( ) , contracts, state_size, reverts_size : 0 }
183
183
}
184
184
}
185
+
186
+ // Some code above and documentation is adapted from the revm crate, and is
187
+ // reproduced here under the terms of the MIT license.
188
+ //
189
+ // MIT License
190
+ //
191
+ // Copyright (c) 2021-2024 draganrakita
192
+ //
193
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
194
+ // of this software and associated documentation files (the "Software"), to deal
195
+ // in the Software without restriction, including without limitation the rights
196
+ // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
197
+ // copies of the Software, and to permit persons to whom the Software is
198
+ // furnished to do so, subject to the following conditions:
199
+ //
200
+ // The above copyright notice and this permission notice shall be included in all
201
+ // copies or substantial portions of the Software.
202
+ //
203
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
204
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
205
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
206
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
207
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
208
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
209
+ // SOFTWARE.
0 commit comments