Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
i guess no reason to deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed May 17, 2022
1 parent a03c13f commit 5dc88cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions frame/support/procedural/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,17 +428,11 @@ pub fn pallet(attr: TokenStream, item: TokenStream) -> TokenStream {
/// }
/// ```
#[proc_macro_attribute]
#[deprecated(
note = "All extrinsic dispatch is now executed in a storage layer (transactional). This tag is not needed anymore."
)]
pub fn transactional(attr: TokenStream, input: TokenStream) -> TokenStream {
transactional::transactional(attr, input).unwrap_or_else(|e| e.to_compile_error().into())
}

#[proc_macro_attribute]
#[deprecated(
note = "All extrinsic dispatch is now executed in a storage layer (transactional). This tag is not needed anymore."
)]
pub fn require_transactional(attr: TokenStream, input: TokenStream) -> TokenStream {
transactional::require_transactional(attr, input)
.unwrap_or_else(|e| e.to_compile_error().into())
Expand Down
3 changes: 0 additions & 3 deletions frame/support/test/tests/storage_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Transactional has been deprecated. While this file sticks around, we need this.
#![allow(deprecated)]

use frame_support::{
assert_noop, assert_ok, assert_storage_noop,
dispatch::{DispatchError, DispatchResult},
Expand Down

0 comments on commit 5dc88cd

Please sign in to comment.